Index: dart/utils/compiler/source_file.dart |
diff --git a/dart/utils/compiler/source_file.dart b/dart/utils/compiler/source_file.dart |
index ce03678946baa9d115f9094365f678faba17cc83..c16d58ef2e78ff5c54a722c258ad98b8b6c9d0a4 100644 |
--- a/dart/utils/compiler/source_file.dart |
+++ b/dart/utils/compiler/source_file.dart |
@@ -42,7 +42,7 @@ class SourceFile { |
for (int i=0; i < starts.length; i++) { |
if (starts[i] > position) return i-1; |
} |
- world.internalError('bad position'); |
+ throw 'bad position'; |
} |
int getColumn(int line, int position) { |