| library /*isNonNullableByDefault*/; |
| import self as self; |
| import "dart:core" as core; |
| |
| static const field core::int foo = #C1; |
| static const field core::String bar = #C7; |
| static const field core::bool baz = #C8; |
| static const field core::Symbol blaSymbol = #C9; |
| static method main() → dynamic { |
| self::_x(); |
| #C11; |
| core::print(#C7); |
| } |
| static method _x() → void { |
| core::print(#C1); |
| core::print(#C7); |
| } |
| |
| constants { |
| #C1 = 1764 |
| #C2 = "hello " |
| #C3 = "baz" |
| #C4 = "world" |
| #C5 = eval const core::String::fromEnvironment(#C3, defaultValue: #C4) |
| #C6 = "!" |
| #C7 = eval "${#C2}${#C5}${#C6}" |
| #C8 = true |
| #C9 = #org-dartlang-testcase:///rudimentary_test_01.dart::_x |
| #C10 = "foo" |
| #C11 = eval const core::bool::fromEnvironment(#C10) |
| } |
| |
| Extra constant evaluation status: |
| Evaluated with empty environment: ConstantExpression @ org-dartlang-testcase:///rudimentary_test_01.dart:13:9 -> BoolConstant(false) |
| Evaluated with empty environment: ConstantExpression @ org-dartlang-testcase:///rudimentary_test_01.dart:14:9 -> StringConstant("hello world!") |
| Evaluated with empty environment: ConstantExpression @ org-dartlang-testcase:///rudimentary_test_01.dart:19:9 -> StringConstant("hello world!") |
| Evaluated with empty environment: ConstantExpression @ org-dartlang-testcase:///rudimentary_test_01.dart:6:18 -> StringConstant("hello world!") |
| Extra constant evaluation: evaluated: 8, effectively constant: 4 |