| Index: lib/ast.dart
|
| diff --git a/lib/ast.dart b/lib/ast.dart
|
| index aa2228581e456fe3164b650aeee3e4b5514198d3..c54704711ede799efd11796932e0e1153c8f6daf 100644
|
| --- a/lib/ast.dart
|
| +++ b/lib/ast.dart
|
| @@ -1247,7 +1247,7 @@ abstract class Expression extends TreeNode {
|
| }
|
| var type = getStaticType(types);
|
| while (type is TypeParameterType) {
|
| - type = type.parameter.bound;
|
| + type = (type as TypeParameterType).parameter.bound;
|
| }
|
| if (type is InterfaceType) {
|
| var upcastType = types.hierarchy.getTypeAsInstanceOf(type, superclass);
|
|
|