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

Issue 886633003: Fix remaining uses of lookupConstructor. (Closed)

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

Description

Fix remaining uses of lookupConstructor. BUG= TBR=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=43277

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -19 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_visitor.dart View 2 chunks +3 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/resolution/members.dart View 1 chunk +0 lines, -9 lines 0 comments Download
M tests/compiler/dart2js/resolver_test.dart View 1 chunk +2 lines, -4 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
herhut
5 years, 10 months ago (2015-01-29 12:24:42 UTC) #1
herhut
Committed patchset #1 (id:1) manually as 43277 (presubmit successful).
5 years, 10 months ago (2015-01-29 12:25:02 UTC) #2
Johnni Winther
5 years, 10 months ago (2015-01-29 12:42:17 UTC) #3
Message was sent while issue was closed.
lgtm

https://codereview.chromium.org/886633003/diff/1/tests/compiler/dart2js/resol...
File tests/compiler/dart2js/resolver_test.dart (right):

https://codereview.chromium.org/886633003/diff/1/tests/compiler/dart2js/resol...
tests/compiler/dart2js/resolver_test.dart:689: element =
classElement.lookupConstructor(constructor);
I think this should always be used since we are part of resolution here. The
else branch might be from when constructors didn't have their simple names.

Powered by Google App Engine
This is Rietveld 408576698