| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/const_vs_setter.dart:19:12: Error: Instance property 'e' conflicts with static property of the same name. |
| // void set e(_) {} |
| // ^ |
| // pkg/front_end/testcases/general/const_vs_setter.dart:18:16: Context: Conflicting static property 'e'. |
| // static const e = 123; |
| // ^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| class Class extends core::Object { |
| static const field core::int c = #C1; |
| static const field core::int d = #C2; |
| static const field core::int e = #C3; |
| synthetic constructor •() → self::Class |
| : super core::Object::•() |
| ; |
| static set c(wildcard dynamic _#wc1#formal) → void {} |
| static set d(core::int value) → void {} |
| } |
| static const field core::int a = #C1; |
| static const field core::int b = #C2; |
| static set a(wildcard dynamic _#wc0#formal) → void {} |
| static set b(core::int value) → void {} |
| |
| constants { |
| #C1 = 42 |
| #C2 = 87 |
| #C3 = 123 |
| } |