| library test /*isNonNullableByDefault*/; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/inference/unresolved_super.dart:16:42: Error: Superclass has no method named '[]='. |
| // var /*@type=invalid-type*/ v5 = super[0] = f(); |
| // ^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| class C extends core::Object { |
| synthetic constructor •() → self::C |
| : super core::Object::•() |
| ; |
| method test() → void { |
| invalid-type v5 = invalid-expression "pkg/front_end/testcases/inference/unresolved_super.dart:16:42: Error: Superclass has no method named '[]='. |
| var /*@type=invalid-type*/ v5 = super[0] = f(); |
| ^"; |
| } |
| } |
| static method f<T extends core::Object? = dynamic>() → self::f::T% |
| return throw ""; |
| static method main() → dynamic {} |