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

Issue 2987783002: Additional fixes for invalid overrides in dart2js (Closed)

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

Description

Additional fixes for invalid overrides in dart2js Together with Jen's fix for checking mixin, these are the remaining cases in dart2js that we need to silence strong mode errors. For modelz - the plan is to eventually delete this code, so ignoring makes sense here. For the namer, Stephen believes we should get rid of the special subclasses, for now I'm just supressing the error. R=johhniwinther@google.com, sra@google.com CC=jmesserly@google.com Committed: https://github.com/dart-lang/sdk/commit/86e18de920322e0c812c325cf3c00bfe33e6363d

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -8 lines) Patch
M pkg/compiler/lib/src/elements/modelx.dart View 4 chunks +8 lines, -7 lines 1 comment Download
M pkg/compiler/lib/src/js_backend/namer_names.dart View 7 chunks +9 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/serialization/modelz.dart View 9 chunks +15 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (7 generated)
Siggi Cherem (dart-lang)
3 years, 5 months ago (2017-07-24 22:41:38 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2987783002/diff/60001/pkg/compiler/lib/src/elements/modelx.dart File pkg/compiler/lib/src/elements/modelx.dart (right): https://codereview.chromium.org/2987783002/diff/60001/pkg/compiler/lib/src/elements/modelx.dart#newcode3576 pkg/compiler/lib/src/elements/modelx.dart:3576: this.patch = patch; the alternative is to add `as ...
3 years, 5 months ago (2017-07-24 23:02:24 UTC) #5
sra1
lgtm
3 years, 5 months ago (2017-07-24 23:20:08 UTC) #9
Siggi Cherem (dart-lang)
Committed patchset #1 (id:60001) manually as 86e18de920322e0c812c325cf3c00bfe33e6363d (presubmit successful).
3 years, 5 months ago (2017-07-24 23:25:35 UTC) #11
karlklose
On 2017/07/24 23:25:35, Siggi Cherem (dart-lang) wrote: > Committed patchset #1 (id:60001) manually as > ...
3 years, 4 months ago (2017-07-26 13:39:26 UTC) #12
Siggi Cherem (dart-lang)
3 years, 4 months ago (2017-07-26 19:51:12 UTC) #13
Message was sent while issue was closed.
On 2017/07/26 13:39:26, karlklose wrote:
> On 2017/07/24 23:25:35, Siggi Cherem (dart-lang) wrote:
> > Committed patchset #1 (id:60001) manually as
> > 86e18de920322e0c812c325cf3c00bfe33e6363d (presubmit successful).
> 
> This change broke dart2js/analyze_unused_dart2js_test

bummer - thanks for pointing it out. There were other failures shadowing this
one on the bots when I first introduced it.

The "ignore" comment doesn't work for that test because it is using dart2js to
generate the warnings and not dartanalyzer. Emily is about to send a fix, we
should later consider deleting this test suite.

Powered by Google App Engine
This is Rietveld 408576698