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

Issue 1117793002: add checks needed for covariant generics, and List<E> (Closed)

Created:
5 years, 7 months ago by Jennifer Messerly
Modified:
5 years, 7 months ago
Reviewers:
vsm, Leaf, Jacob
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

add checks needed for covariant generics, and fixes #154, List<E> now has the right runtime type. R=leafp@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/fe67c032f48a734f59bce4aab19dde62221c355a

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+689 lines, -88 lines) Patch
M lib/runtime/dart/_internal.js View 1 31 chunks +74 lines, -1 line 0 comments Download
M lib/runtime/dart/_js_helper.js View 1 5 chunks +10 lines, -0 lines 0 comments Download
M lib/runtime/dart/async.js View 1 95 chunks +166 lines, -7 lines 0 comments Download
M lib/runtime/dart/collection.js View 1 119 chunks +196 lines, -0 lines 0 comments Download
M lib/runtime/dart/convert.js View 1 6 chunks +8 lines, -0 lines 0 comments Download
M lib/runtime/dart/core.js View 1 16 chunks +42 lines, -7 lines 0 comments Download
M lib/runtime/dart/math.js View 1 6 chunks +8 lines, -0 lines 0 comments Download
M lib/runtime/dart_runtime.js View 1 3 chunks +15 lines, -4 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 8 chunks +65 lines, -40 lines 0 comments Download
M test/browser/runtime_tests.js View 2 chunks +9 lines, -9 lines 0 comments Download
A test/codegen/covariance.dart View 1 1 chunk +27 lines, -0 lines 0 comments Download
A test/codegen/expect/covariance.js View 1 1 chunk +38 lines, -0 lines 0 comments Download
A test/codegen/expect/covariance.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M test/generated_sdk/lib/core/list.dart View 2 chunks +15 lines, -10 lines 0 comments Download
M tool/input_sdk/patch/core_patch.dart View 1 chunk +15 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Jennifer Messerly
5 years, 7 months ago (2015-04-29 23:09:06 UTC) #2
vsm
nice! https://codereview.chromium.org/1117793002/diff/1/lib/runtime/dart/collection.js File lib/runtime/dart/collection.js (right): https://codereview.chromium.org/1117793002/diff/1/lib/runtime/dart/collection.js#newcode42 lib/runtime/dart/collection.js:42: dart.as(equals, dart.functionType(core.bool, [K, K])); We shouldn't need runtime ...
5 years, 7 months ago (2015-04-30 14:00:51 UTC) #3
Jennifer Messerly
PTAL https://codereview.chromium.org/1117793002/diff/1/lib/runtime/dart/collection.js File lib/runtime/dart/collection.js (right): https://codereview.chromium.org/1117793002/diff/1/lib/runtime/dart/collection.js#newcode42 lib/runtime/dart/collection.js:42: dart.as(equals, dart.functionType(core.bool, [K, K])); On 2015/04/30 14:00:51, vsm ...
5 years, 7 months ago (2015-05-01 20:43:04 UTC) #4
Leaf
lgtm
5 years, 7 months ago (2015-05-01 21:01:44 UTC) #6
Jennifer Messerly
5 years, 7 months ago (2015-05-01 21:11:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
fe67c032f48a734f59bce4aab19dde62221c355a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698