4bf22f41f3
Change-Id: Ideee9917b2e5b819672c7e441d051f9bc57c86c6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366342 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
library;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method sideEffect<T extends core::Object? = dynamic>(core::List<self::sideEffect::T%> list) → core::List<self::sideEffect::T%> {
|
|
core::print(self::sideEffect::T%);
|
|
return list;
|
|
}
|
|
static method method() → dynamic {
|
|
{
|
|
final synthesized core::List<dynamic> #0#0 = self::sideEffect<dynamic>(<dynamic>[]);
|
|
if(!true)
|
|
throw{for-error-handling} new core::StateError::•("Pattern matching error");
|
|
}
|
|
{
|
|
final synthesized core::List<dynamic> #1#0 = self::sideEffect<dynamic>(<dynamic>[]);
|
|
if(!true)
|
|
throw{for-error-handling} new core::StateError::•("Pattern matching error");
|
|
}
|
|
{
|
|
final synthesized core::List<dynamic> #2#0 = self::sideEffect<dynamic>(<dynamic>[]);
|
|
if(true) {
|
|
core::print(true);
|
|
}
|
|
}
|
|
#L1:
|
|
{
|
|
final synthesized core::List<dynamic> #3#0 = self::sideEffect<dynamic>(<dynamic>[]);
|
|
{
|
|
if(true) {
|
|
}
|
|
}
|
|
}
|
|
return block {
|
|
core::bool #t1;
|
|
final synthesized core::List<dynamic> #4#0 = self::sideEffect<dynamic>(<dynamic>[]);
|
|
#L2:
|
|
{
|
|
{
|
|
if(true) {
|
|
#t1 = true;
|
|
break #L2;
|
|
}
|
|
}
|
|
}
|
|
} =>#t1;
|
|
}
|