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

Issue 1926283002: implement generic method runtime behavior, fixes #301 (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1177 lines, -863 lines) Patch
M .gitignore View 1 chunk +1 line, -0 lines 0 comments Download
M lib/runtime/dart_sdk.js View 1 2 187 chunks +867 lines, -712 lines 0 comments Download
M lib/src/compiler/code_generator.dart View 1 2 3 12 chunks +177 lines, -69 lines 0 comments Download
M lib/src/compiler/compiler.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/browser/runtime_tests.js View 1 chunk +1 line, -2 lines 0 comments Download
M test/codegen/expect/closure.js View 1 chunk +6 lines, -4 lines 0 comments Download
M test/codegen/expect/functions.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/codegen/expect/unittest.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/codegen/expect/unittest/unittest.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/codegen/language/inferrer_synthesized_constructor_test.dart View 1 chunk +4 lines, -1 line 0 comments Download
M test/codegen/language/issue12284_test.dart View 2 chunks +5 lines, -2 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/classes.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/generators.dart View 3 chunks +4 lines, -3 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/operations.dart View 3 chunks +53 lines, -25 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/rtti.dart View 1 2 2 chunks +30 lines, -33 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/types.dart View 1 2 2 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Jennifer Messerly
This fixes https://github.com/dart-lang/dev_compiler/issues/301. See for issues that are not implemented yet: https://github.com/dart-lang/dev_compiler/issues/435
4 years, 7 months ago (2016-04-28 22:58:28 UTC) #2
Jennifer Messerly
FYI to Leaf as well, in case interested to see it
4 years, 7 months ago (2016-04-28 23:00:10 UTC) #4
Jennifer Messerly
https://codereview.chromium.org/1926283002/diff/40001/tool/input_sdk/private/ddc_runtime/operations.dart File tool/input_sdk/private/ddc_runtime/operations.dart (right): https://codereview.chromium.org/1926283002/diff/40001/tool/input_sdk/private/ddc_runtime/operations.dart#newcode124 tool/input_sdk/private/ddc_runtime/operations.dart:124: $typeArgs = Array(formalCount).fill($dynamicR); This should be instantiating to bounds. ...
4 years, 7 months ago (2016-04-28 23:28:54 UTC) #5
vsm
LGTM General thought: the dollar naming convention for classes might be nice here as a ...
4 years, 7 months ago (2016-04-29 14:48:53 UTC) #6
vsm
jakemac will test ng2 when this lands.
4 years, 7 months ago (2016-04-29 14:51:20 UTC) #7
Leaf
lgtm https://codereview.chromium.org/1926283002/diff/40001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/1926283002/diff/40001/lib/src/compiler/code_generator.dart#newcode2154 lib/src/compiler/code_generator.dart:2154: // different from universal function types. On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 15:55:03 UTC) #8
Jennifer Messerly
Thanks, didn't know about those tests, I will add a note to our tracking bug ...
4 years, 7 months ago (2016-04-29 17:18:44 UTC) #9
Jennifer Messerly
4 years, 7 months ago (2016-04-29 17:41:53 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
0702a90bfa490b0866989f88aec81958be55650f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698