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

Issue 23225004: Fix a bug where we would emit a noSuchMethod handler in the Object class for Object methods because… (Closed)

Created:
7 years, 4 months ago by ngeoffray
Modified:
7 years, 3 months ago
Reviewers:
ahe, karlklose, pavelj
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix a bug where we would emit a noSuchMethod handler in the Object class for Object methods because of a selector with an empty receiver type, or an exact type for an abstract class. R=ahe@google.com Committed: https://code.google.com/p/dart/source/detail?r=26706

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Messages

Total messages: 10 (0 generated)
ngeoffray
7 years, 4 months ago (2013-08-20 07:48:50 UTC) #1
ahe
Not sure I understand this. https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode2821 sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:2821: } else if (mask.isEmpty ...
7 years, 4 months ago (2013-08-20 08:00:33 UTC) #2
ngeoffray
https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode2821 sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:2821: } else if (mask.isEmpty && !mask.isNullable) { On 2013/08/20 ...
7 years, 4 months ago (2013-08-20 08:03:47 UTC) #3
ahe
lgtm https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode2821 sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:2821: } else if (mask.isEmpty && !mask.isNullable) { On ...
7 years, 4 months ago (2013-08-20 08:11:12 UTC) #4
ngeoffray
https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode2821 sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:2821: } else if (mask.isEmpty && !mask.isNullable) { On 2013/08/20 ...
7 years, 4 months ago (2013-08-20 08:24:03 UTC) #5
ahe
https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode2821 sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:2821: } else if (mask.isEmpty && !mask.isNullable) { On 2013/08/20 ...
7 years, 4 months ago (2013-08-20 08:31:44 UTC) #6
pavelj
https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/23225004/diff/1/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode2821 sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:2821: } else if (mask.isEmpty && !mask.isNullable) { Peter, that ...
7 years, 4 months ago (2013-08-20 14:51:43 UTC) #7
ngeoffray
I incorporated a similar fix for abstract classes. PTAL.
7 years, 3 months ago (2013-08-26 10:44:24 UTC) #8
ahe
LGTM!
7 years, 3 months ago (2013-08-27 10:55:48 UTC) #9
ngeoffray
7 years, 3 months ago (2013-08-27 11:27:57 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r26706 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698