| library /*isNonNullableByDefault*/; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/issue43363.dart:10:9: Error: Expected a class member, but got 'this'. |
| // this.y = 2; |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/issue43363.dart:10:13: Error: Expected a class member, but got '.'. |
| // this.y = 2; |
| // ^ |
| // |
| // pkg/front_end/testcases/general/issue43363.dart:10:14: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. |
| // Try adding the name of the type of the variable or the keyword 'var'. |
| // this.y = 2; |
| // ^ |
| // |
| // pkg/front_end/testcases/general/issue43363.dart:10:14: Error: 'y' is already declared in this scope. |
| // this.y = 2; |
| // ^ |
| // pkg/front_end/testcases/general/issue43363.dart:7:13: Context: Previous declaration of 'y'. |
| // final int y; |
| // ^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| class E extends core::Object { |
| final field core::int x; |
| final field core::int y; |
| constructor •() → self::E |
| ; |
| constructor named() → self::E |
| ; |
| } |
| static method main() → dynamic |
| ; |