Files
sdk/pkg/front_end/testcases/implicit_const_with_static_fields.dart.direct.expect
T
Dmitry Stefantsov 0fedb9b9d8 [fasta] Disable upwards new/const completion
Change-Id: If2c14bf402bbcbacbf4cf2da351eb7234e1e0944
Reviewed-on: https://dart-review.googlesource.com/49900
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Kevin Millikin <kmillikin@google.com>
2018-04-06 19:31:22 +00:00

16 lines
396 B
Plaintext

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