blob: 8da9073958f9e56a746952b4b7153c372d2fa24a [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
import "package:expect/expect.dart";
static const field core::String str = "str";
static const field core::String var1 = self::str.{core::String::[]}(2);
static const field dynamic var2 = self::fn();
static const field core::String var3 = "str".{core::String::[]}(0);
static const field dynamic var4 = self::fn2();
static method fn() dynamic
;
static method fn2() dynamic
;
static method main() void
;
Extra constant evaluation status:
Evaluated: StaticGet @ org-dartlang-testcase:///const_functions_string.dart:10:14 -> StringConstant("str")
Extra constant evaluation: evaluated: 5, effectively constant: 1