| Index: dart/frog/leg/frog_leg.dart
|
| diff --git a/dart/frog/leg/frog_leg.dart b/dart/frog/leg/frog_leg.dart
|
| index 92650afebfa90c744b27c5b0e367ac86262ca8db..73a23d5221d7d1984891efe21028a1c26c78629e 100644
|
| --- a/dart/frog/leg/frog_leg.dart
|
| +++ b/dart/frog/leg/frog_leg.dart
|
| @@ -59,6 +59,7 @@ class WorldCompiler extends Compiler {
|
| }
|
|
|
| currentScript() {
|
| + if (currentElement === null) return null;
|
| CompilationUnitElement compilationUnit =
|
| currentElement.getCompilationUnit();
|
| if (compilationUnit === null) return null;
|
|
|