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

Issue 812523002: Change signature of lookupConstructor to only require a name. (Closed)

Created:
6 years ago by herhut
Modified:
5 years, 10 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Only return unnamed constructors without required parameters as default constructors. #

Patch Set 3 : Fail gracefully on missing default constructors when evaluating constant constructors. #

Total comments: 4

Patch Set 4 : comments #

Patch Set 5 : Allow lookup of unresolved constructors #

Patch Set 6 : return null for unresolved default constructors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -74 lines) Patch
M pkg/analyzer2dart/lib/src/modely.dart View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/compile_time_constants.dart View 1 2 3 4 1 chunk +9 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 2 3 4 4 chunks +8 lines, -14 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 2 3 4 1 chunk +2 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 1 2 3 4 5 1 chunk +13 lines, -15 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/concrete_types_inferrer.dart View 1 chunk +1 line, -4 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 3 4 1 chunk +10 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/resolution/members.dart View 1 2 3 4 4 chunks +4 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
herhut
6 years ago (2014-12-16 11:36:05 UTC) #1
herhut
PTAL
5 years, 11 months ago (2015-01-07 12:20:44 UTC) #3
Johnni Winther
lgtm https://codereview.chromium.org/812523002/diff/80001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/812523002/diff/80001/pkg/compiler/lib/src/compiler.dart#newcode1359 pkg/compiler/lib/src/compiler.dart:1359: intEnvironment = intClass.lookupConstructor(fromEnvironmentSelector.name); Do we still need [fromEnvironmentSelector] ...
5 years, 11 months ago (2015-01-08 09:47:44 UTC) #5
herhut
Committed patchset #4 (id:100001) manually as 43067 (presubmit successful).
5 years, 11 months ago (2015-01-22 10:32:52 UTC) #6
herhut
https://codereview.chromium.org/812523002/diff/80001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/812523002/diff/80001/pkg/compiler/lib/src/compiler.dart#newcode1359 pkg/compiler/lib/src/compiler.dart:1359: intEnvironment = intClass.lookupConstructor(fromEnvironmentSelector.name); On 2015/01/08 09:47:44, Johnni Winther wrote: ...
5 years, 11 months ago (2015-01-22 10:33:20 UTC) #7
herhut
PTAL: I had rebased in the meanwhile. The only real change is in line 2405 ...
5 years, 11 months ago (2015-01-22 11:52:05 UTC) #8
Johnni Winther
On 2015/01/22 11:52:05, herhut wrote: > PTAL: > > I had rebased in the meanwhile. ...
5 years, 11 months ago (2015-01-26 08:38:56 UTC) #9
herhut
On 2015/01/26 08:38:56, Johnni Winther wrote: > On 2015/01/22 11:52:05, herhut wrote: > > PTAL: ...
5 years, 11 months ago (2015-01-26 09:30:47 UTC) #10
herhut
5 years, 11 months ago (2015-01-26 09:31:22 UTC) #11
herhut
As discussed this now returns null.
5 years, 10 months ago (2015-01-29 09:29:51 UTC) #12
herhut
5 years, 10 months ago (2015-01-29 09:34:56 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 (id:140001) manually as 43272 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698