Closed
Description
When a syntax error is detected the VM prints a list of library-imports first.
Since the error-buffer seems to be limited to some arbitrary limit the real error is often not shown.
Example:
===
$ cat bug1.dart
library("bug1");
import("bug2.dart");
$ cat bug2.dart
library("bug2");
import("bug3.dart");
$ cat bug3.dart
library("bug3");
abstract class A { }
$ out/Release_ia32/dart bug1.dart
'/tmp/bug1.dart': Error: line 2 pos 1: library handler failed: '/tmp/bug2.dart': Error: line 2 pos 1: library handler failed: '/tmp/bug3.dart': Error: line 3 pos 1: unexpected token 'abstract'
abstract class A { }
^
import("bug3.dart");
^
import("bug2.dart");
^
===