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

Issue 23959003: Fix casts and type assertions on mixins used in native classes (Closed)

Created:
7 years, 3 months ago by sra1
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix casts and type assertions on mixins used in native classes. The tests are more complex with mixins and subtypes of native types. We must avoid calling getCheckedModeHelper and friends during resolution because the type queries required to identify the static helper function might access unresolved types. R=karlklose@google.com Committed: https://code.google.com/p/dart/source/detail?r=27272

Patch Set 1 : #

Total comments: 2

Patch Set 2 : merge #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -85 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 1 chunk +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/enqueue.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 7 chunks +158 lines, -75 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart View 1 chunk +5 lines, -3 lines 0 comments Download
A tests/compiler/dart2js_native/subclassing_type_test.dart View 1 chunk +145 lines, -0 lines 0 comments Download
M tests/html/html.status View 1 2 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sra1
7 years, 3 months ago (2013-09-04 22:08:55 UTC) #1
sra1
ping
7 years, 3 months ago (2013-09-06 02:40:19 UTC) #2
karlklose
This seems to rely on the checked mode helpers being resolved from some other use. ...
7 years, 3 months ago (2013-09-06 06:51:01 UTC) #3
karlklose
Ah, I see that you enqueue them all instead of resolving which we need now. ...
7 years, 3 months ago (2013-09-06 07:11:30 UTC) #4
sra1
On 2013/09/06 07:11:30, karlklose wrote: > Ah, I see that you enqueue them all instead ...
7 years, 3 months ago (2013-09-06 08:01:41 UTC) #5
karlklose
LGTM, but please file a bug and add a comment to find a solution to ...
7 years, 3 months ago (2013-09-06 12:51:42 UTC) #6
sra1
7 years, 3 months ago (2013-09-07 00:35:32 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r27272 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698