Files
sdk/pkg/dev_compiler
Leaf Petersen 25e87d9748 Better error messages
This records the actual point at which type inference fails and uses that to give a better error message.  So where before we would say:

severe: line 76, column 38 of package:angular2/src/forms/directives.dart: [StaticTypeError] Type check failed: [c.validator, this.validator] (List<dynamic>) is not of type List<Function>
    c.validator = validators.compose([c.validator, this.validator]);

we will now in addition say:

because c.validator cannot be typed as Function

BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org/1056183002
2015-04-03 12:49:04 -07:00
..
2015-04-03 12:49:04 -07:00
2015-03-30 12:52:03 -07:00
2015-02-24 16:57:57 -08:00
2015-03-27 11:33:26 -04:00

dev_compiler

Build Status Coverage Status

This is an experimental Dart -> JavaScript compiler designed to create idiomatic, readable JavaScript output. We're investigating this because we want to enable easy debugging of Dart applications on all supported browsers.

The initial target for this work is Chrome, which is why there's an ES6 backend. Longer term, we plan to investigate supporting all browsers that Dart supports.