Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Issue 339583004: Add a compile time error for non-static const fields (Closed)

Created:
6 years, 6 months ago by srawlins
Modified:
6 years, 4 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a compile time error for non-static const fields BUG=11049 Committed through https://codereview.chromium.org/443923002/

Patch Set 1 #

Patch Set 2 : Adding test as per Johnni's recommendation #

Total comments: 2

Patch Set 3 : Addressing Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 chunk +5 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/warnings.dart View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
srawlins
None of the MODIFIER warnings have tests, so I didn't add one :( Let me ...
6 years, 6 months ago (2014-06-20 20:56:22 UTC) #1
Johnni Winther
On 2014/06/20 20:56:22, srawlins wrote: > None of the MODIFIER warnings have tests, so I ...
6 years, 6 months ago (2014-06-23 07:38:48 UTC) #2
srawlins
On 2014/06/23 07:38:48, Johnni Winther wrote: > On 2014/06/20 20:56:22, srawlins wrote: > > None ...
6 years, 6 months ago (2014-06-24 21:43:37 UTC) #3
Johnni Winther
LGTM Thanks for the fix. https://codereview.chromium.org/339583004/diff/20001/sdk/lib/_internal/compiler/implementation/warnings.dart File sdk/lib/_internal/compiler/implementation/warnings.dart (right): https://codereview.chromium.org/339583004/diff/20001/sdk/lib/_internal/compiler/implementation/warnings.dart#newcode996 sdk/lib/_internal/compiler/implementation/warnings.dart:996: howToFix: "Add a static ...
6 years, 6 months ago (2014-06-25 07:21:03 UTC) #4
Johnni Winther
On 2014/06/25 07:21:03, Johnni Winther wrote: > LGTM > > Thanks for the fix. > ...
6 years, 5 months ago (2014-06-30 12:41:39 UTC) #5
srawlins
The CQ bit was checked by srawlins@google.com
6 years, 5 months ago (2014-07-11 17:52:13 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-11 17:55:59 UTC) #7
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years, 5 months ago (2014-07-11 17:56:01 UTC) #8
srawlins
https://codereview.chromium.org/339583004/diff/20001/sdk/lib/_internal/compiler/implementation/warnings.dart File sdk/lib/_internal/compiler/implementation/warnings.dart (right): https://codereview.chromium.org/339583004/diff/20001/sdk/lib/_internal/compiler/implementation/warnings.dart#newcode996 sdk/lib/_internal/compiler/implementation/warnings.dart:996: howToFix: "Add a static modifier, or remove the const ...
6 years, 5 months ago (2014-07-15 20:13:28 UTC) #9
srawlins
The CQ bit was checked by srawlins@google.com
6 years, 5 months ago (2014-07-15 20:13:32 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-15 20:13:48 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-15 20:13:50 UTC) #12
Commit queue rejected this change because it did not recognize the base URL.
Please commit your change manually.

Powered by Google App Engine
This is Rietveld 408576698