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

Issue 25504002: Emit a compile-time error for uninitialized final variables. (Closed)

Created:
7 years, 2 months ago by karlklose
Modified:
7 years, 2 months ago
Reviewers:
Johnni Winther, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Emit a compile-time error for uninitialized final variables. BUG=13020, 13222 R=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=28204

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Implement check for all final variables. #

Patch Set 5 : dart2dart status file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -12 lines) Patch
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 3 4 chunks +17 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/warnings.dart View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2dart.status View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 4 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
karlklose
7 years, 2 months ago (2013-10-02 12:13:29 UTC) #1
kasperl
https://codereview.chromium.org/25504002/diff/4001/sdk/lib/_internal/compiler/implementation/resolution/members.dart File sdk/lib/_internal/compiler/implementation/resolution/members.dart (right): https://codereview.chromium.org/25504002/diff/4001/sdk/lib/_internal/compiler/implementation/resolution/members.dart#newcode460 sdk/lib/_internal/compiler/implementation/resolution/members.dart:460: compiler.reportError(element, Shouldn't this be a warning?
7 years, 2 months ago (2013-10-02 12:17:01 UTC) #2
kasperl
On 2013/10/02 12:17:01, kasperl wrote: > https://codereview.chromium.org/25504002/diff/4001/sdk/lib/_internal/compiler/implementation/resolution/members.dart > File sdk/lib/_internal/compiler/implementation/resolution/members.dart (right): > > https://codereview.chromium.org/25504002/diff/4001/sdk/lib/_internal/compiler/implementation/resolution/members.dart#newcode460 > ...
7 years, 2 months ago (2013-10-02 12:22:19 UTC) #3
karlklose
PTAL.
7 years, 2 months ago (2013-10-02 13:14:41 UTC) #4
Johnni Winther
lgtm
7 years, 2 months ago (2013-10-03 07:43:43 UTC) #5
karlklose
7 years, 2 months ago (2013-10-03 10:42:40 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r28204 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698