34f9734b41
This reverts commit 14032a6209.
Reason for revert : Several customer flutter tests are failing because
of the change in behavior.
TEST=revert of previous CL.
Change-Id: Ia235aa93b9c81fbab066803dc0625856f93acceb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/181860
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
17 lines
355 B
Plaintext
17 lines
355 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
import "dart:async" as asy;
|
|
|
|
static method main() → dynamic async {
|
|
core::bool b = (() → core::bool => true).call();
|
|
(dynamic _) → core::int? {
|
|
if(b)
|
|
return 42;
|
|
};
|
|
(dynamic _) → asy::Future<core::int?> async {
|
|
if(b)
|
|
return 42;
|
|
};
|
|
}
|