36641368bb
This changes ast-to-text to mark legacy libraries instead of non-nullable-by-default libraries. TEST=existing Change-Id: Ib01147e4ef48c2c5b2ffc6b23547998344dfdf2e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/307121 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
15 lines
386 B
Plaintext
15 lines
386 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
import "org-dartlang-testcase:///const_patterns_binary.dart" as prefix;
|
|
|
|
class Class extends core::Object {
|
|
static const field core::int value = 2;
|
|
synthetic constructor •() → self::Class
|
|
;
|
|
}
|
|
static const field core::int value = 1;
|
|
static method method<T extends core::Object? = dynamic>(dynamic o) → dynamic
|
|
;
|