ab603367c0
This change causes the 'dartc' tests to be more sensitive to the difference between a static type error and a compilation error. Instead of relying on the return value from the test being 0 or non zero, the code now turns on '--error_format machine' and checks type error level 'ERROR' or 'WARNING' and the type of error for 'STATIC_TYPE' if there is a static type error. A new annotation format adapted from multitests is introduced for standard test cases: int foo = "hello"; /// static type error The above annotation means that a static type error is expected. Currently enforcement is very lenient. There must be at least as many STATIC_TYPE error messages as there are '/// static type error' annotations (and no ERROR level messages.) Review URL: https://chromiumcodereview.appspot.com//9559007 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4895 260f80e4-7a28-3924-810f-c04153c831b5
This directory is a placeholder for the eventual Dart compiler. The Dart compiler consists of among others a Dart front-end, a Dart->JS backend, a Dart->Dart backend, tree-shaking tools, minification tools.