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

Issue 2141023002: Make initializing formal access available by default (Closed)

Created:
4 years, 5 months ago by eernst
Modified:
4 years ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org, floitsch
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make initializing formal access available by default This CL changes dart2js such that the effect that we used to get with option '--initializing-formal-access' is now obtained unconditionally, i.e., that extension is now enabled by default. dart2js will continue to accept the option, such that scripts passing the option will not break. The CL is _not_ intended to be landed at this time, the plan is to enable the feature in a coordinated manner when all tools are ready. R=johnniwinther@google.com Committed: https://github.com/dart-lang/sdk/commit/4912fd150100210762a90b7dbbbc238b9ec5bb43

Patch Set 1 #

Patch Set 2 : Removed init.formal option (was unused) #

Patch Set 3 : Ran full set of tests, discovered and fixed an issue; adjusted status files #

Patch Set 4 : One more test adjusted #

Patch Set 5 : Additional clean-up, now ready to land #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -76 lines) Patch
M pkg/compiler/lib/src/commandline_options.dart View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/compile_time_constants.dart View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M pkg/compiler/lib/src/dart2js.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/options.dart View 1 2 3 4 7 chunks +0 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/resolution/constructors.dart View 1 2 3 4 3 chunks +7 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/resolution/members.dart View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M pkg/compiler/lib/src/resolution/resolution.dart View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M pkg/compiler/lib/src/typechecker.dart View 1 2 3 4 4 chunks +4 lines, -18 lines 0 comments Download
M tests/isolate/compile_time_error_test.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/language/initializing_formal_type_test.dart View 1 2 3 4 1 chunk +8 lines, -3 lines 0 comments Download
M tests/language/language.status View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language_analyzer2.status View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
D tests/language/parameter_initializer5_negative_test.dart View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
A + tests/language/parameter_initializer5_test.dart View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
eernst
A CL which is intended to be ready for use later on: Enable --initializing-formal-access by ...
4 years, 5 months ago (2016-07-12 12:53:33 UTC) #2
eernst
Removed `enableInitializingFormalAccess` entirely from `CompilerOptions`. It was confusing and unnecessary to have it around now ...
4 years, 5 months ago (2016-07-12 13:03:44 UTC) #3
Johnni Winther
lgtm
4 years, 5 months ago (2016-07-13 07:38:00 UTC) #4
eernst
Finally got around to run all tests. This CL contains fixes coming up from that.
4 years, 5 months ago (2016-07-25 16:05:14 UTC) #5
eernst
On 2016/07/25 16:05:14, eernst wrote: > Finally got around to run all tests. This CL ...
4 years, 5 months ago (2016-07-26 07:28:27 UTC) #6
Johnni Winther
lgtm
4 years, 5 months ago (2016-07-26 08:18:12 UTC) #7
eernst
This CL adjusts one more test that fails when init. formal access is on by ...
4 years, 4 months ago (2016-07-27 08:54:43 UTC) #8
Johnni Winther
Still LGTM
4 years, 4 months ago (2016-08-01 09:01:04 UTC) #9
eernst
PTAL: It took a number of edits to port this CL to the current master ...
4 years ago (2016-11-24 17:44:51 UTC) #10
eernst
One thing to note: We discussed how to handle the `DartOptions` directives. Florian preferred that ...
4 years ago (2016-11-24 17:55:03 UTC) #11
Johnni Winther
lgtm
4 years ago (2016-11-25 08:23:29 UTC) #12
eernst
4 years ago (2016-11-25 09:15:43 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
4912fd150100210762a90b7dbbbc238b9ec5bb43 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698