blob: 915e23000b66ae10d3945f4fcc78daf14722bfd5 [file] [log] [blame]
/*
* Copyright (c) 2016, the Dart project authors. Please see the AUTHORS
* file for details. All rights reserved. Use of this source code is governed
* by a BSD-style license that can be found in the LICENSE file.
*/
/**
* @author a.semenov@unipro.ru
*/
import "dart:async";
import "IsolateUtil.dart";
main() {
dynamic i2 = 2, i3 = 3, i4 = 4;
// first error
new Future.delayed(ONE_SECOND, () => "b" + i2);
// second error
new Future.delayed(TWO_SECONDS, () => "c" + i3);
// third error
new Future.delayed(THREE_SECONDS, () => "d" + i4);
}