Skip to content

Conversation

windows7lake
Copy link
Contributor

Fix issue #590:type 'List' is not a subtype of type 'List' in type cast

Copy link
Contributor

@erickok erickok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm thanks for the fix.

@MuhammadSufyanMalik
Copy link

Hi,
I am alos getting this error,
type 'List' is not a subtype of type 'List' in type cast
I tried by adding this" case 'text-decoration-line':
style.textDecoration =
ExpressionMapping.expressionToTextDecorationLine(
value as List<css.LiteralTerm>);
List<css.LiteralTerm?>? textDecorationList =
value.whereType<css.LiteralTerm>().toList();
style.textDecoration =
ExpressionMapping.expressionToTextDecorationLine(
textDecorationList);" as well, but same error.
Firstly it drops here

image

Thanks

@windows7lake
Copy link
Contributor Author

Hi, I am alos getting this error, type 'List' is not a subtype of type 'List' in type cast I tried by adding this" case 'text-decoration-line': style.textDecoration = ExpressionMapping.expressionToTextDecorationLine( value as List<css.LiteralTerm>); List<css.LiteralTerm?>? textDecorationList = value.whereType<css.LiteralTerm>().toList(); style.textDecoration = ExpressionMapping.expressionToTextDecorationLine( textDecorationList);" as well, but same error. Firstly it drops here

image

Thanks

pls create a new issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants