Index: test/codegen/expect/notnull.js |
diff --git a/test/codegen/expect/notnull.js b/test/codegen/expect/notnull.js |
index bd94bc15666094f921f5b3476d31bcbd1cf532c5..6405db8860c347d94533d4d679d8ec0076544378 100644 |
--- a/test/codegen/expect/notnull.js |
+++ b/test/codegen/expect/notnull.js |
@@ -224,6 +224,21 @@ dart_library.library('notnull', null, /* Imports */[ |
} |
dart.fn(controlFlow); |
+ function cascadesOnNull() { |
+ let x = null; |
+ core.print(dart.hashCode(((() => { |
+ dart.toString(x); |
+ dart.runtimeType(x); |
+ return x; |
+ })()))); |
+ let y = null; |
+ core.print(dart.hashCode(((() => { |
+ dart.toString(y); |
+ dart.runtimeType(y); |
+ return y; |
+ })()))); |
+ } |
+ dart.fn(cascadesOnNull); |
function main() { |
intAssignments(); |
doubleAssignments(); |
@@ -237,6 +252,7 @@ dart_library.library('notnull', null, /* Imports */[ |
calls(); |
localEscapes(); |
controlFlow(); |
+ cascadesOnNull(); |
nullableCycle(); |
nonNullableCycle(); |
} |
@@ -258,5 +274,6 @@ dart_library.library('notnull', null, /* Imports */[ |
exports.calls = calls; |
exports.localEscapes = localEscapes; |
exports.controlFlow = controlFlow; |
+ exports.cascadesOnNull = cascadesOnNull; |
exports.main = main; |
}); |