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

Issue 10349008: Set the right context to resolve types of fields, closures and parameters. (Closed)

Created:
8 years, 7 months ago by karlklose
Modified:
8 years, 7 months ago
Reviewers:
ngeoffray, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Set the right context to resolve types of fields, closures and parameters. R=ngeoffray@google.com Committed: https://code.google.com/p/dart/source/detail?r=7373

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Address Kasper's comments. #

Total comments: 1

Patch Set 4 : Remove fix for factories. This should be fixed in the parser. #

Patch Set 5 : Merge and add test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -6 lines) Patch
M frog/tests/leg/resolver_test.dart View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M lib/compiler/implementation/elements/elements.dart View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M lib/compiler/implementation/resolver.dart View 1 2 3 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
karlklose
8 years, 7 months ago (2012-05-03 11:21:15 UTC) #1
kasperl
http://codereview.chromium.org/10349008/diff/2002/lib/compiler/implementation/resolver.dart File lib/compiler/implementation/resolver.dart (right): http://codereview.chromium.org/10349008/diff/2002/lib/compiler/implementation/resolver.dart#newcode583 lib/compiler/implementation/resolver.dart:583: LibraryElement library = element.getLibrary(); How about a helper function ...
8 years, 7 months ago (2012-05-03 13:25:28 UTC) #2
ngeoffray
8 years, 7 months ago (2012-05-07 09:32:30 UTC) #3
LGTM, but can we write a test that actually fails? (and just not emits warnings)

http://codereview.chromium.org/10349008/diff/5001/lib/compiler/implementation...
File lib/compiler/implementation/resolver.dart (right):

http://codereview.chromium.org/10349008/diff/5001/lib/compiler/implementation...
lib/compiler/implementation/resolver.dart:1079: return compiler.dynamicClass;
You can remove this check, we have a fix:
https://chromiumcodereview.appspot.com/10332032

Powered by Google App Engine
This is Rietveld 408576698