| Index: testcases/type-propagation/null_aware.baseline.txt
|
| diff --git a/testcases/type-propagation/null_aware.baseline.txt b/testcases/type-propagation/null_aware.baseline.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7e706e10fffd2351fb5d68e20c7eeccbe5d59f8c
|
| --- /dev/null
|
| +++ b/testcases/type-propagation/null_aware.baseline.txt
|
| @@ -0,0 +1,22 @@
|
| +library;
|
| +import self as self;
|
| +import "dart:core" as core;
|
| +
|
| +class Foo extends core::Object {
|
| + field core::int/core::int* {null,int} field = null;
|
| + static field core::int/core::int* {null,int} staticField = null;
|
| + constructor •() → void
|
| + : super core::Object::•()
|
| + ;
|
| +}
|
| +static method main() → dynamic/Null {
|
| + self::Foo/self::Foo! {other} foo = new self::Foo::•();
|
| + let final dynamic/<missing type> #t1 = foo in #t1.==(null) ? null : #t1.field = 5;
|
| + self::Foo::staticField = 5;
|
| + let final dynamic/<missing type> #t2 = foo in #t2.field.==(null) ? #t2.field = 5 : null;
|
| + self::Foo::staticField.==(null) ? self::Foo::staticField = 5 : null;
|
| + let final dynamic/<missing type> #t3 = foo in #t3.==(null) ? null : #t3.field.==(null) ? #t3.field = 5 : null;
|
| + self::Foo::staticField.==(null) ? self::Foo::staticField = 5 : null;
|
| + core::int/core::int* {null,int} intValue = let final dynamic/<missing type> #t4 = foo.field in #t4.==(null) ? 6 : #t4;
|
| + core::num/core::num* {null,int,double} numValue = let final dynamic/<missing type> #t5 = foo.field in #t5.==(null) ? 4.5 : #t5;
|
| +}
|
|
|