|  | library; | 
|  | // | 
|  | // Problems in library: | 
|  | // | 
|  | // pkg/front_end/testcases/patterns/issue52228.dart:6:3: Error: The asynchronous for-in can only be used in functions marked with 'async' or 'async*'. | 
|  | // Try marking the function body with either 'async' or 'async*', or removing the 'await' before the for loop. | 
|  | //   await for (var [v1] in Stream.fromIterable([[1], [2], [3]])) { // Error. | 
|  | //   ^^^^^ | 
|  | // | 
|  | import self as self; | 
|  | import "dart:core" as core; | 
|  | import "dart:async" as asy; | 
|  |  | 
|  | static method test() → dynamic { | 
|  | await for (final core::List<core::int> #t1 in asy::Stream::fromIterable<core::List<core::int>>(core::_GrowableList::_literal3<core::List<core::int>>(core::_GrowableList::_literal1<core::int>(1), core::_GrowableList::_literal1<core::int>(2), core::_GrowableList::_literal1<core::int>(3)))) { | 
|  | hoisted core::int v1; | 
|  | { | 
|  | final synthesized core::List<core::int> #0#0 = #t1; | 
|  | if(!(#0#0.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final core::int #t2 = v1 = #0#0.{core::List::[]}(0){(core::int) → core::int} in true))) | 
|  | throw new core::StateError::•("Pattern matching error"); | 
|  | } | 
|  | core::print(v1); | 
|  | } | 
|  | } | 
|  |  | 
|  | constants  { | 
|  | #C1 = 1 | 
|  | } |