Erik Ernst
c3dfe51295
Adds status entries for initializing_formal tests.
...
This CL should fix the problem that arose with commit
543a51ff3e
. Here's the description from
that CL:
This CL adds tests for previously uncovered elements of the semantics
and includes fixes such that the desired behavior is obtained. In
particular, an `isInitializingFormal` element may now occur in contexts
where it wasn't expected until now, and changes were made to handle it.
It is also checked that a capture of an initializing formal (in a
function literal) captures the parameter, not the field.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org/2042293002 .
2016-06-08 10:50:33 +02:00
Erik Ernst
6d56db592b
Revert "New tests for initializing formal access."
...
This reverts commit 543a51ff3e
because several status file updates are needed.
Review URL: https://codereview.chromium.org/2039243002 .
2016-06-06 16:07:03 +02:00
Erik Ernst
543a51ff3e
New tests for initializing formal access.
...
This CL adds tests for previously uncovered elements of the semantics
and includes fixes such that the desired behavior is obtained. In
particular, an `isInitializingFormal` element may now occur in contexts
where it wasn't expected until now, and changes were made to handle it.
It is also checked that a capture of an initializing formal (in a
function literal) captures the parameter, not the field.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org/2039833002 .
2016-06-06 15:55:44 +02:00
Johnni Winther
78e8677f83
Fix shared messages.
...
Remembered to publish, forgot to test!
Review URL: https://codereview.chromium.org/1780803004 .
2016-03-10 11:20:56 +01:00
Johnni Winther
b31a2566d4
Use specific messages for const constructor with body.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org/1768143003 .
2016-03-10 10:09:17 +01:00
Florian Loitsch
d41bce8cda
Don't assume that we always have a HowToFix and remove failing test.
...
Also fix a typo.
Review URL: https://codereview.chromium.org/1769043002 .
2016-03-07 17:36:34 +01:00
Florian Loitsch
dd326beee1
Move more messages.
...
Migrates some of the 'undefined' messages to the shared file.
R=brianwilkerson@google.com , johnniwinther@google.com
Review URL: https://codereview.chromium.org/1750143005 .
2016-03-07 16:39:12 +01:00
Florian Loitsch
65b4256b9e
Support multiple categories per message.
...
Also move more messages to use this feature.
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org/1763373002 .
2016-03-07 16:37:57 +01:00
Florian Loitsch
c7de97729c
Use error-names for 'specializationOf'.
...
The sub-ids are harder to read and maintain.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org/1770703002 .
2016-03-07 11:37:41 +01:00
Florian Loitsch
7a7ecf299b
Split the JSON output into multiple lines.
...
Otherwise a git grep will produce a huge output when finding the entry in the json db.
R=brianwilkerson@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org/1711863005 .
2016-02-18 22:15:03 +01:00
Florian Loitsch
7db06aedc4
More shared messages.
...
R=brianwilkerson@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org/1716463002 .
2016-02-18 22:13:15 +01:00
Florian Loitsch
4d26e4ec13
More shared messages.
...
R=brianwilkerson@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org/1706033002 .
2016-02-18 17:21:04 +01:00
Florian Loitsch
3301bc7786
Use shared error for constructor's with return type.
...
Dart2js reports constructor's with return type, as long as the class is used.
R=sigmund@google.com
Review URL: https://codereview.chromium.org/1704173002 .
2016-02-17 23:50:41 +01:00
Florian Loitsch
830ac68d05
Share const-error messages.
...
R=brianwilkerson@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org/1700243002 .
2016-02-17 20:10:30 +01:00
Florian Loitsch
6468ba5022
Share the first error messages.
...
R=brianwilkerson@google.com , johnniwinther@google.com
Review URL: https://codereview.chromium.org/1660703002 .
2016-02-04 12:52:39 +01:00
Florian Loitsch
f0ebd939e4
Fix typo in id-generator.
...
Review URL: https://codereview.chromium.org/1659193002 .
2016-02-02 22:23:42 +01:00
Florian Loitsch
bbde44f7cc
Move license to the top.
...
R=lrn@google.com
Review URL: https://codereview.chromium.org/1636443002 .
2016-01-26 11:35:02 +01:00
Florian Loitsch
5cb3da473b
Update messages, and fix typing in test.
...
Review URL: https://codereview.chromium.org/1625213003 .
2016-01-25 13:41:03 +01:00
Florian Loitsch
c849a62744
Generate dart2js and analyzer files for shared messages.
...
R=brianwilkerson@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org/1582903003 .
2016-01-25 13:08:40 +01:00
Florian Loitsch
6ecea2f559
Add dart_messages package.
...
R=johnniwinther@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org/1514333002 .
2015-12-17 18:15:17 +01:00