OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 import 'package:fasta/src/outline.dart' as outline; | |
6 | |
7 const int iterations = const int.fromEnvironment("iterations", defaultValue: 1); | |
8 | |
9 main(List<String> arguments) async { | |
10 for (int i = 0; i < iterations; i++) { | |
karlklose
2017/01/18 12:03:47
Consider sharing the code for the environment cons
ahe
2017/01/18 13:42:36
We discussed this offline, and you had a great ide
| |
11 if (iterations > 1 && i > 0) { | |
karlklose
2017/01/18 12:03:47
Why not just 'i > 0'?
ahe
2017/01/18 13:42:36
Brain fart.
| |
12 print("\n"); | |
13 } | |
14 await outline.compile(arguments); | |
15 } | |
16 } | |
OLD | NEW |