| Index: frog/world.dart
|
| diff --git a/frog/world.dart b/frog/world.dart
|
| index 520d26d0940f1189e860457a333bfb532e9e79cd..cbd5e62c7d7c74cbc016e9a8007cca22bf7b97ba 100644
|
| --- a/frog/world.dart
|
| +++ b/frog/world.dart
|
| @@ -285,7 +285,7 @@ class World {
|
| }
|
|
|
| void runCompilationPhases() {
|
| - final lib = withTiming('first pass', processDartScript);
|
| + final lib = withTiming('first pass', () => processDartScript());
|
| withTiming('resolve top level', resolveAll);
|
| if (experimentalAwaitPhase != null) {
|
| withTiming('await translation', experimentalAwaitPhase);
|
| @@ -340,8 +340,9 @@ class World {
|
| }
|
| }
|
|
|
| - Library processDartScript() {
|
| - Library library = getOrAddLibrary(options.dartScript);
|
| + Library processDartScript([String script = null]) {
|
| + if (script == null) script = options.dartScript;
|
| + Library library = getOrAddLibrary(script);
|
| process();
|
| return library;
|
| }
|
|
|