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>
29 lines
573 B
Plaintext
29 lines
573 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method method(dynamic o) → dynamic {
|
|
#L1:
|
|
{
|
|
final synthesized dynamic #0#0 = o;
|
|
{
|
|
hoisted core::String a;
|
|
if(#0#0 is core::String && (let final dynamic #t1 = a = #0#0{core::String} in true)) {
|
|
{
|
|
core::print(a);
|
|
break #L1;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
hoisted core::int a;
|
|
if(#0#0 is core::int && (let final dynamic #t2 = a = #0#0{core::int} in true)) {
|
|
{
|
|
core::print(a);
|
|
break #L1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|