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

Issue 2639733004: dart2js: Make .runtimeType work for tear-off closures (Closed)

Created:
3 years, 11 months ago by sra1
Modified:
3 years, 11 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js: Make .runtimeType work for tear-off closures BUG= R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/fdbc6688f1c61a725cad019c98f543db773d01ae

Patch Set 1 #

Patch Set 2 : fix mirrors issue by using embedded typedef info #

Total comments: 2

Patch Set 3 : Allow "int", add test #

Patch Set 4 : status #

Patch Set 5 : line-wrap #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -95 lines) Patch
M pkg/compiler/lib/src/js_backend/namer.dart View 1 2 3 3 chunks +101 lines, -19 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_helper.dart View 6 chunks +15 lines, -65 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_mirrors.dart View 1 3 chunks +7 lines, -5 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_rti.dart View 1 2 3 4 2 chunks +82 lines, -5 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
A tests/language/runtime_type_function_test.dart View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
sra1
3 years, 11 months ago (2017-01-18 03:24:44 UTC) #2
karlklose
On 2017/01/18 03:24:44, sra1 wrote: If this was not working before, could you add a ...
3 years, 11 months ago (2017-01-18 07:13:15 UTC) #3
Siggi Cherem (dart-lang)
lgtm, I agree with Karl, it would be great to add a small unit test ...
3 years, 11 months ago (2017-01-18 17:40:44 UTC) #4
sra1
PTAL 1. Changed format to the same as VM to enable one test to pass. ...
3 years, 11 months ago (2017-01-19 00:09:20 UTC) #5
Siggi Cherem (dart-lang)
lgtm!
3 years, 11 months ago (2017-01-19 00:33:03 UTC) #6
sra1
Committed patchset #5 (id:80001) manually as fdbc6688f1c61a725cad019c98f543db773d01ae (presubmit successful).
3 years, 11 months ago (2017-01-19 01:42:02 UTC) #8
Emily Fortuna
On 2017/01/19 01:42:02, sra1 wrote: > Committed patchset #5 (id:80001) manually as > fdbc6688f1c61a725cad019c98f543db773d01ae (presubmit ...
3 years, 11 months ago (2017-01-20 20:02:26 UTC) #9
sra1
On 2017/01/20 20:02:26, Emily Fortuna wrote: > On 2017/01/19 01:42:02, sra1 wrote: > > Committed ...
3 years, 11 months ago (2017-01-20 21:11:07 UTC) #10
sra1
3 years, 11 months ago (2017-01-20 21:12:42 UTC) #11
Message was sent while issue was closed.
On 2017/01/20 21:11:07, sra1 wrote:
> On 2017/01/20 20:02:26, Emily Fortuna wrote:
> > On 2017/01/19 01:42:02, sra1 wrote:
> > > Committed patchset #5 (id:80001) manually as
> > > fdbc6688f1c61a725cad019c98f543db773d01ae (presubmit successful).
> > 
> > This CL caused language/generic_closure_test to start failing when you run
it
> > with kernel: 
> > python tools/test.py -mrelease -cdart2js -rd8 --host-checked
--dart2js-options
> > --use-kernel language/generic_closure_test
> > 
> > was that intended?
> 
> Very strange.
> If I run the tests before and after I see what you see, but if I run test and
> then repeat the d8 step, both fail.

Doh!

The CL makes the test pass on the Ast version.
It 'passed' on kernel because it was marked Fail and I changed that!

Powered by Google App Engine
This is Rietveld 408576698