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

Issue 9178020: Revert "Remove TypeToken as means for assigning type arguments to arrays." (Closed)

Created:
8 years, 11 months ago by mmendez
Modified:
8 years, 11 months ago
Reviewers:
floitsch, codefu, zundel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Revert "Remove TypeToken as means for assigning type arguments to arrays." This reverts commit r3356. Apparently closure will optimize new Array(x) to Array(void 0). Committed: https://code.google.com/p/dart/source/detail?r=3360

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -16 lines) Patch
M compiler/java/com/google/dart/compiler/backend/js/GenerateJavascriptAST.java View 2 chunks +0 lines, -12 lines 0 comments Download
M compiler/lib/corelib_impl.dart View 1 chunk +1 line, -0 lines 0 comments Download
M compiler/lib/implementation/array.dart View 2 chunks +6 lines, -4 lines 0 comments Download
M compiler/lib/implementation/array.js View 1 chunk +6 lines, -0 lines 0 comments Download
A compiler/lib/implementation/type_token.dart View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
mmendez
Reverting this change since closure optimizations break it. Will re-roll it once I figure out ...
8 years, 11 months ago (2012-01-17 15:29:09 UTC) #1
floitsch
LGTM.
8 years, 11 months ago (2012-01-17 15:29:46 UTC) #2
zundel
8 years, 11 months ago (2012-01-17 15:31:24 UTC) #3
lgtm

Powered by Google App Engine
This is Rietveld 408576698