| library; |
| import self as self; |
| import "dart:core" as core; |
| |
| typedef TA = self::A; |
| class A extends core::Object /*hasConstConstructor*/ { |
| const constructor •() → self::A |
| : super core::Object::•() |
| ; |
| static factory redir() → self::A /* redirection-target: self::A::• */ |
| return new self::A::•(); |
| } |
| static const field core::List<self::A> test1 = const <self::A>[const self::A::•()]; |
| static const field core::List<self::A> test2 = const <self::A>[const self::A::•()]; |
| static const field core::List<self::A> test3 = const <self::A>[const self::A::•()]; |
| |
| |
| Extra constant evaluation status: |
| Evaluated: ListLiteral @ org-dartlang-testcase:///issue55152_4.dart:12:23 -> ListConstant(const <A>[const A{}]) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///issue55152_4.dart:13:23 -> ListConstant(const <A>[const A{}]) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///issue55152_4.dart:14:23 -> ListConstant(const <A>[const A{}]) |
| Extra constant evaluation: evaluated: 4, effectively constant: 3 |