Files
sdk/pkg/front_end/testcases/implicit_const_with_static_fields.dart.strong.expect
T
Sigmund Cherem 4b7d256a06 Revert "Enable constant-update-2018 by default." and "Update .expect files in pkg/front_end after e9ca6a53"
This reverts commit e9ca6a5335 and d3e00fd35e.

Change-Id: I346d6156be19c4fceffa202a7ce9bfa931c7c14b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/99560
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-04-16 20:20:12 +00:00

16 lines
403 B
Plaintext

library;
import self as self;
import "dart:core" as core;
class C extends core::Object {
static const field core::int constField = 87;
const constructor •(dynamic x) → self::C
: super core::Object::•()
;
}
static const field core::int constTopLevelField = 42;
static method main() → dynamic {
new self::C::•(self::C::constField);
new self::C::•(self::constTopLevelField);
}