blob: c0005bd364b01d4d98a68e00a65548ed5dcfea32 [file] [log] [blame]
library;
import self as self;
import "dart:async" as asy;
import "dart:core" as core;
import "dart:async";
static method test(asy::StreamController<void> _eventStreamController) dynamic async /* emittedValueType= dynamic */ {
{
synthesized asy::Stream<void> :stream = _eventStreamController.{asy::StreamController::stream}{asy::Stream<void>};
synthesized asy::_StreamIterator<void>? :for-iterator = new asy::_StreamIterator::•<void>(:stream);
try
while (let dynamic #t1 = asy::_asyncStarMoveNextHelper(:stream) in await :for-iterator.{asy::_StreamIterator::moveNext}(){() → asy::Future<core::bool>}) {
final void _ = :for-iterator.{asy::_StreamIterator::current}{void};
{}
}
finally
if(!(:for-iterator.{asy::_StreamIterator::_subscription}{asy::StreamSubscription<void>?} == null))
await :for-iterator.{asy::_StreamIterator::cancel}(){() asy::Future<dynamic>};
}
}
static method main() dynamic {}