| Index: test/codegen/notnull.dart
|
| diff --git a/test/codegen/notnull.dart b/test/codegen/notnull.dart
|
| index b6eca41769ee323b292fe7caa70408e844b17ccf..f16e75046f16cdf84be0dd3947ca8224120a4b4a 100644
|
| --- a/test/codegen/notnull.dart
|
| +++ b/test/codegen/notnull.dart
|
| @@ -94,7 +94,7 @@ void optParams([int x, int y = 1]) {
|
| print(x + y);
|
| }
|
|
|
| -void namedParams({int x, int y : 1}) {
|
| +void namedParams({int x, int y: 1}) {
|
| print(x + y);
|
| }
|
|
|
| @@ -203,6 +203,20 @@ controlFlow() {
|
| }
|
| }
|
|
|
| +cascadesOnNull() {
|
| + dynamic x = null;
|
| + print((x
|
| + ..toString()
|
| + ..runtimeType)
|
| + .hashCode);
|
| +
|
| + Object y = null;
|
| + print((y
|
| + ..toString()
|
| + ..runtimeType)
|
| + .hashCode);
|
| +}
|
| +
|
| main() {
|
| intAssignments();
|
| doubleAssignments();
|
| @@ -216,6 +230,7 @@ main() {
|
| calls();
|
| localEscapes();
|
| controlFlow();
|
| + cascadesOnNull();
|
|
|
| nullableCycle();
|
| nonNullableCycle();
|
|
|