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

Issue 1678053002: Fix super noSuchMethod handling. (Closed)

Created:
4 years, 10 months ago by Johnni Winther
Modified:
4 years, 10 months ago
Reviewers:
asgerf, Harry Terkelsen
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix super noSuchMethod handling. Closes #25680 - This CL fixes the handling of inapplicable noSuchMethod methods on superclasses (see issue 25671) for both SSA and CPS. - The CPS implementation for normal noSuchMethod calls on super was wrong is fixed with this CL, including the addition the missing visitUnresolvedSuperSet method on the SemanticSendVisitor. - An error (presumably in type inference) affecting SSA was found with the added tests (Issue 25716 filed) R=asgerf@google.com, het@google.com Committed: https://github.com/dart-lang/sdk/commit/756d95a372b5123193644f07b65b93c106a92078 Reverted: https://github.com/dart-lang/sdk/commit/a0d7b64fdefbd5e05b9ce7e80d7883f61a99102e Committed: https://github.com/dart-lang/sdk/commit/059f44aa3b0ca0915420f6d93db7409647385d3c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated cf. comments. #

Patch Set 3 : Rebased #

Patch Set 4 : Update tests. #

Patch Set 5 : Update status. #

Patch Set 6 : Rebased #

Patch Set 7 : Fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -195 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 17 chunks +35 lines, -20 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/info/send_info.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_backend.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/no_such_method_registry.dart View 9 chunks +34 lines, -13 lines 0 comments Download
M pkg/compiler/lib/src/resolution/semantic_visitor.dart View 1 chunk +15 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart View 3 chunks +28 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/resolution/send_structure.dart View 1 chunk +5 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 3 4 5 6 3 chunks +15 lines, -9 lines 0 comments Download
M tests/compiler/dart2js/no_such_method_enabled_test.dart View 1 2 3 13 chunks +114 lines, -123 lines 0 comments Download
M tests/compiler/dart2js/semantic_visitor_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/semantic_visitor_test_send_data.dart View 1 chunk +10 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
A tests/language/issue_25671a_test.dart View 1 chunk +21 lines, -0 lines 0 comments Download
A tests/language/issue_25671b_test.dart View 1 chunk +21 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 chunk +2 lines, -0 lines 0 comments Download
A + tests/language/super_no_such_method1_test.dart View 1 chunk +10 lines, -10 lines 0 comments Download
A + tests/language/super_no_such_method2_test.dart View 1 chunk +10 lines, -10 lines 0 comments Download
A tests/language/super_no_such_method3_test.dart View 1 chunk +26 lines, -0 lines 0 comments Download
A tests/language/super_no_such_method4_test.dart View 1 chunk +19 lines, -0 lines 0 comments Download
A + tests/language/super_no_such_method5_test.dart View 1 2 1 chunk +8 lines, -9 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Johnni Winther
4 years, 10 months ago (2016-02-08 11:05:53 UTC) #3
Harry Terkelsen
lgtm
4 years, 10 months ago (2016-02-08 17:51:27 UTC) #4
asgerf
lgtm https://codereview.chromium.org/1678053002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart File pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart (right): https://codereview.chromium.org/1678053002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart#newcode3342 pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart:3342: List<ir.Primitive> arguments) { The name of this method ...
4 years, 10 months ago (2016-02-08 18:42:45 UTC) #5
Johnni Winther
https://codereview.chromium.org/1678053002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart File pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart (right): https://codereview.chromium.org/1678053002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart#newcode3342 pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart:3342: List<ir.Primitive> arguments) { On 2016/02/08 18:42:44, asgerf wrote: > ...
4 years, 10 months ago (2016-02-09 08:37:29 UTC) #6
Johnni Winther
Committed patchset #5 (id:80001) manually as 756d95a372b5123193644f07b65b93c106a92078 (presubmit successful).
4 years, 10 months ago (2016-02-09 10:39:50 UTC) #8
Johnni Winther
PTAL @ the last patch
4 years, 10 months ago (2016-02-09 13:58:00 UTC) #10
asgerf
lgtm
4 years, 10 months ago (2016-02-09 14:00:36 UTC) #11
Johnni Winther
4 years, 10 months ago (2016-02-09 14:20:33 UTC) #13
Message was sent while issue was closed.
Committed patchset #7 (id:90022) manually as
059f44aa3b0ca0915420f6d93db7409647385d3c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698