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

Issue 1979863002: Dont install methods if implementation superclass corresponds to an installed extension class (Closed)

Created:
4 years, 7 months ago by sra1
Modified:
4 years, 7 months ago
Reviewers:
vsm, Leaf, Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Base URL:
https://github.com/dart-lang/dev_compiler@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Dont install methods if implementation superclass corresponds to an installed extension class BUG= R=leafp@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/a637e4102fff7d32760bd800971c7645309f5855

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -19 lines) Patch
M lib/runtime/dart_sdk.js View 1 2 chunks +20 lines, -7 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/classes.dart View 1 1 chunk +46 lines, -12 lines 1 comment Download

Messages

Total messages: 7 (2 generated)
sra1
This is a hacky experiment. I'm not sure if this is actually correct. html tests ...
4 years, 7 months ago (2016-05-14 22:17:43 UTC) #2
sra1
On 2016/05/14 22:17:43, sra1 wrote: > This is a hacky experiment. > I'm not sure ...
4 years, 7 months ago (2016-05-14 22:34:46 UTC) #3
Leaf
lgtm https://codereview.chromium.org/1979863002/diff/1/tool/input_sdk/private/ddc_runtime/classes.dart File tool/input_sdk/private/ddc_runtime/classes.dart (right): https://codereview.chromium.org/1979863002/diff/1/tool/input_sdk/private/ddc_runtime/classes.dart#newcode321 tool/input_sdk/private/ddc_runtime/classes.dart:321: if(JS('bool', '#.__proto__._xxx !== #', jsProto, extParent)) { Maybe ...
4 years, 7 months ago (2016-05-16 18:03:07 UTC) #4
sra1
Committed patchset #2 (id:20001) manually as a637e4102fff7d32760bd800971c7645309f5855 (presubmit successful).
4 years, 7 months ago (2016-05-16 22:03:59 UTC) #6
Jennifer Messerly
4 years, 7 months ago (2016-05-17 17:50:51 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/1979863002/diff/20001/tool/input_sdk/private/...
File tool/input_sdk/private/ddc_runtime/classes.dart (right):

https://codereview.chromium.org/1979863002/diff/20001/tool/input_sdk/private/...
tool/input_sdk/private/ddc_runtime/classes.dart:286: final _installedDartPeers =
JS('', 'new Map()');
isn't this identical to _extensionType field?

See below line 348:

// Mark the JS type's instances so we can easily check for extensions.
jsProto[$_extensionType] = $dartExtType;
$_installProperties(jsProto, extProto);

then below we set key: jsProto value: extProto in the Map.

Powered by Google App Engine
This is Rietveld 408576698