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

Issue 3007123002: [kernel] const constructor type arguments (Closed)

Created:
3 years, 3 months ago by jensj
Modified:
3 years, 3 months ago
Reviewers:
ahe, aam, kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[kernel] const constructor type arguments ``` class A<T> { const A(); Type get type => T; } class B extends A<String>{ const B(); } main() { print(const B().type); } ``` Should print "String". Before this CL it printed "dynamic", now it prints "String". See dartbug.com/30588 for more information. BUG= R=kustermann@google.com Committed: https://github.com/dart-lang/sdk/commit/e1d7e33aadf470164c7ceecba40a8a8d455cb459

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M runtime/vm/kernel_binary_flowgraph.cc View 1 chunk +13 lines, -0 lines 2 comments Download

Messages

Total messages: 5 (2 generated)
jensj
Note that I have not run the flutter code that the bug was created based ...
3 years, 3 months ago (2017-09-04 07:56:43 UTC) #2
kustermann
lgtm https://codereview.chromium.org/3007123002/diff/1/runtime/vm/kernel_binary_flowgraph.cc File runtime/vm/kernel_binary_flowgraph.cc (right): https://codereview.chromium.org/3007123002/diff/1/runtime/vm/kernel_binary_flowgraph.cc#newcode2537 runtime/vm/kernel_binary_flowgraph.cc:2537: if (klass.NumTypeArguments() > 0 && !klass.IsGeneric()) { On ...
3 years, 3 months ago (2017-09-04 10:21:34 UTC) #3
jensj
3 years, 3 months ago (2017-09-04 11:24:34 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
e1d7e33aadf470164c7ceecba40a8a8d455cb459 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698