dart-archive / dev_compiler

DEPRECATED - Moved to main SDK
https://github.com/dart-lang/sdk/tree/master/pkg/dev_compiler
Other
133 stars 27 forks source link

Compiler crashes when invoked on non-existing file #605

Closed smanilov closed 8 years ago

smanilov commented 8 years ago

It throws an exception, rather than catching it and handling it properly.

To reproduce:

dartdevc.dart -o foo.js foo

(make sure foo doesn't exist).

jmesserly commented 8 years ago

DOH. Thanks for catching this! And thanks for looking into it :)

jmesserly commented 8 years ago

this was fixed. yay.