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

Issue 2051213005: Make initializing formals visible in the initializer list (Closed)

Created:
4 years, 6 months ago by hausner
Modified:
4 years, 4 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Implement the language change that makes initializing formal parameters visible in the initializer list, but not in the constructor's body. The feature is enabled with the flag --initializing-formal-access. BUG=26655, 26656 R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/643fdb9dc8371adfd04ca8ab2acee87b53c8f2d3

Patch Set 1 : Implement initializing formals #

Patch Set 2 : Fixing broken tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -16 lines) Patch
M runtime/vm/parser.cc View 1 10 chunks +34 lines, -4 lines 0 comments Download
M tests/language/initializing_formal_access_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/initializing_formal_capture_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/initializing_formal_final_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/initializing_formal_promotion_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/initializing_formal_scope_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/initializing_formal_type_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/language.status View 1 2 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
hausner
4 years, 4 months ago (2016-08-04 16:59:44 UTC) #4
regis
LGTM Are there no tests yet?
4 years, 4 months ago (2016-08-04 17:13:50 UTC) #5
hausner
Thank you. There are tests: tests/language/initializing_formal_access_test.dart tests/language/initializing_formal_capture_test.dart tests/language/initializing_formal_final_test.dart tests/language/initializing_formal_promotion_test.dart tests/language/initializing_formal_scope_test.dart tests/language/initializing_formal_type_test.dart They enable the feature ...
4 years, 4 months ago (2016-08-04 17:20:46 UTC) #6
regis
On 2016/08/04 17:20:46, hausner wrote: > Thank you. There are tests: > > tests/language/initializing_formal_access_test.dart > ...
4 years, 4 months ago (2016-08-04 17:25:10 UTC) #7
hausner
Oh, yes. Now that you mention it... Some tests still fail. Working on a fix, ...
4 years, 4 months ago (2016-08-04 17:33:00 UTC) #8
hausner
PTAL
4 years, 4 months ago (2016-08-04 17:59:34 UTC) #9
regis
LGTM
4 years, 4 months ago (2016-08-04 18:03:58 UTC) #10
hausner
4 years, 4 months ago (2016-08-04 18:24:30 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:40001) manually as
643fdb9dc8371adfd04ca8ab2acee87b53c8f2d3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698