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

Issue 1355773002: Make type system changes backwards compatible (Closed)

Created:
5 years, 3 months ago by Leaf
Modified:
5 years, 3 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make type system changes backwards compatible This CL eliminates the additional typeSystem arguments added to the API by https://codereview.chromium.org/1329743005/ wherever possible, instead projecting out the typeSystem from the context as available. Where not possible, the additional argument is made optional, defaulting to the standard TypeSystemImpl. I believe that the result of this should be backwards compatible for clients (but not implementors) of the API. BUG= R=brianwilkerson@google.com, paulberry@google.com Committed: https://github.com/dart-lang/sdk/commit/f912eabcbfc9c2fcbc51812d65fe85a8d1f97715

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments, rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -141 lines) Patch
M pkg/analyzer/lib/src/generated/constant.dart View 3 chunks +12 lines, -11 lines 0 comments Download
M pkg/analyzer/lib/src/generated/engine.dart View 5 chunks +1 line, -5 lines 0 comments Download
M pkg/analyzer/lib/src/generated/error_verifier.dart View 1 2 chunks +2 lines, -1 line 0 comments Download
M pkg/analyzer/lib/src/generated/incremental_resolver.dart View 3 chunks +6 lines, -11 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 1 21 chunks +56 lines, -60 lines 0 comments Download
M pkg/analyzer/lib/src/generated/static_type_analyzer.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 13 chunks +22 lines, -31 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong_mode.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analyzer/test/generated/all_the_rest_test.dart View 8 chunks +21 lines, -15 lines 0 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/src/task/strong_mode_test.dart View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (1 generated)
Leaf
5 years, 3 months ago (2015-09-18 04:04:57 UTC) #2
Paul Berry
lgtm. Thanks for taking care of this. Sorry we failed to notice these backward compatibility ...
5 years, 3 months ago (2015-09-18 05:19:25 UTC) #3
Brian Wilkerson
LGTM
5 years, 3 months ago (2015-09-18 13:52:44 UTC) #4
vsm
On 2015/09/18 13:52:44, Brian Wilkerson wrote: > LGTM Thanks, Leaf. I patched this in locally ...
5 years, 3 months ago (2015-09-18 15:40:28 UTC) #5
Leaf
https://codereview.chromium.org/1355773002/diff/1/pkg/analyzer/lib/src/generated/resolver.dart File pkg/analyzer/lib/src/generated/resolver.dart (right): https://codereview.chromium.org/1355773002/diff/1/pkg/analyzer/lib/src/generated/resolver.dart#newcode890 pkg/analyzer/lib/src/generated/resolver.dart:890: this._typeProvider, this.declaredVariables) { On 2015/09/18 05:19:25, Paul Berry wrote: ...
5 years, 3 months ago (2015-09-18 16:59:04 UTC) #6
Leaf
5 years, 3 months ago (2015-09-18 16:59:15 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
f912eabcbfc9c2fcbc51812d65fe85a8d1f97715 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698