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

Issue 2995763003: Fix deferred bug: when type argument is never instantiated (Closed)

Created:
3 years, 4 months ago by Siggi Cherem (dart-lang)
Modified:
3 years, 4 months ago
Reviewers:
Johnni Winther, sra1
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : add status file #

Total comments: 1

Patch Set 3 : makeit conditional to prevent infinite recursion #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -4 lines) Patch
M pkg/compiler/lib/src/deferred_load.dart View 1 2 1 chunk +3 lines, -1 line 1 comment Download
M tests/compiler/dart2js_extra/dart2js_extra.status View 1 4 chunks +3 lines, -3 lines 0 comments Download
A tests/compiler/dart2js_extra/deferred/uninstantiated_type_variable_lib.dart View 1 chunk +26 lines, -0 lines 0 comments Download
A tests/compiler/dart2js_extra/deferred/uninstantiated_type_variable_test.dart View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Siggi Cherem (dart-lang)
3 years, 4 months ago (2017-08-11 19:25:13 UTC) #1
Siggi Cherem (dart-lang)
(fyi I'll upload a status file change shortly, since this will likely fail with --use-kernel)
3 years, 4 months ago (2017-08-11 19:25:40 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2995763003/diff/20001/tests/compiler/dart2js_extra/dart2js_extra.status File tests/compiler/dart2js_extra/dart2js_extra.status (left): https://codereview.chromium.org/2995763003/diff/20001/tests/compiler/dart2js_extra/dart2js_extra.status#oldcode193 tests/compiler/dart2js_extra/dart2js_extra.status:193: 28749_test: Crash these are unrelated, but because we are ...
3 years, 4 months ago (2017-08-11 19:34:15 UTC) #3
sra1
lgtm
3 years, 4 months ago (2017-08-11 19:38:11 UTC) #4
Siggi Cherem (dart-lang)
Committed patchset #3 (id:40001) manually as f1e34ffd11f34b21ac6fcefc882cd5375b7dac43 (presubmit successful).
3 years, 4 months ago (2017-08-11 20:17:37 UTC) #6
Siggi Cherem (dart-lang)
3 years, 4 months ago (2017-08-11 21:34:53 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2995763003/diff/40001/pkg/compiler/lib/src/de...
File pkg/compiler/lib/src/deferred_load.dart (right):

https://codereview.chromium.org/2995763003/diff/40001/pkg/compiler/lib/src/de...
pkg/compiler/lib/src/deferred_load.dart:323:
collectTypeDependencies(type.element.supertype);
I believe this may be including transitive deps, which is not the coal for the
_collectAllElementsAndConstantsResolvedFrom(...)

I propose this alternative fix instead:
https://codereview.chromium.org/3000843002/

Powered by Google App Engine
This is Rietveld 408576698