7955fe09ae
Instead of implementing SourceFileProvider and using dart2js's built in DiagnosticHandler, we just provide our own CompilerInputProvider and DiagnosticHandler functions. This avoids implementing stuff in SourceFileProvider and, more importantly, lets us handle missing source files better. The DiagnosticHandler in dart2js just barfs and trashes the original error if it can't find a source file to associate with it. The windows bots are currently failing on an error I can't see because it doesn't have a source file. BUG= R=nweiz@google.com Review URL: https://codereview.chromium.org//25540004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28246 260f80e4-7a28-3924-810f-c04153c831b5