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

Issue 11086074: Give different runtime type representations to different types with the same name. (Closed)

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

Description

Give different runtime type representations to different types with the same name. R=kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=13543

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Use new library/import syntax. #

Patch Set 4 : Address comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -9 lines) Patch
M lib/compiler/implementation/runtime_types.dart View 1 2 3 2 chunks +21 lines, -3 lines 2 comments Download
M lib/compiler/implementation/ssa/builder.dart View 1 5 chunks +5 lines, -4 lines 0 comments Download
A + tests/language/first_class_types_lib1.dart View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A + tests/language/first_class_types_lib2.dart View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A tests/language/first_class_types_libraries_test.dart View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
karlklose
8 years, 2 months ago (2012-10-11 13:13:45 UTC) #1
kasperl
LGTM (except for the missing id++). http://codereview.chromium.org/11086074/diff/2001/lib/compiler/implementation/runtime_types.dart File lib/compiler/implementation/runtime_types.dart (right): http://codereview.chromium.org/11086074/diff/2001/lib/compiler/implementation/runtime_types.dart#newcode16 lib/compiler/implementation/runtime_types.dart:16: * detect elements ...
8 years, 2 months ago (2012-10-11 13:18:51 UTC) #2
karlklose
Thanks Kasper! http://codereview.chromium.org/11086074/diff/2001/lib/compiler/implementation/runtime_types.dart File lib/compiler/implementation/runtime_types.dart (right): http://codereview.chromium.org/11086074/diff/2001/lib/compiler/implementation/runtime_types.dart#newcode16 lib/compiler/implementation/runtime_types.dart:16: * detect elements with the same name ...
8 years, 2 months ago (2012-10-11 13:29:42 UTC) #3
ngeoffray
8 years, 2 months ago (2012-10-15 12:57:55 UTC) #4
http://codereview.chromium.org/11086074/diff/8001/lib/compiler/implementation...
File lib/compiler/implementation/runtime_types.dart (right):

http://codereview.chromium.org/11086074/diff/8001/lib/compiler/implementation...
lib/compiler/implementation/runtime_types.dart:21: String getName(Element
element) {
This very much look like code dealt else where. Coud it somehow be shared?

http://codereview.chromium.org/11086074/diff/8001/lib/compiler/implementation...
lib/compiler/implementation/runtime_types.dart:71: String elementName =
getName(element);
Use the namer instead?

Powered by Google App Engine
This is Rietveld 408576698