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

Issue 1966763004: always emit lazy field if overriding static (Closed)

Created:
4 years, 7 months ago by Harry Terkelsen
Modified:
4 years, 7 months ago
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

always emit lazy field if overriding static We used to emit an eager field if a static was overriding a static field in a superclass because this is valid ES6. However, even if the static field is not synthetic in the superclass, it might still be emitted as a lazy static. The safest way is just to emit a lazy field for static overrides always. fixes #522 R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/e133d8477961031c2772346218381f09c6cc6a6e

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -79 lines) Patch
M lib/runtime/dart_sdk.js View 1 4 chunks +212 lines, -52 lines 0 comments Download
M lib/src/compiler/code_generator.dart View 1 3 chunks +5 lines, -5 lines 0 comments Download
M lib/src/compiler/js_field_storage.dart View 1 2 chunks +2 lines, -11 lines 0 comments Download
M tool/input_sdk/lib/svg/dart2js/svg_dart2js.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M tool/sdk_expected_errors.txt View 1 chunk +9 lines, -9 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Harry Terkelsen
4 years, 7 months ago (2016-05-11 17:29:36 UTC) #2
Jennifer Messerly
Fixing stuff by removing special cases == awesomeness :) LGTM, with one question to double ...
4 years, 7 months ago (2016-05-11 17:56:11 UTC) #4
Harry Terkelsen
https://codereview.chromium.org/1966763004/diff/1/lib/runtime/dart_sdk.js File lib/runtime/dart_sdk.js (right): https://codereview.chromium.org/1966763004/diff/1/lib/runtime/dart_sdk.js#newcode73619 lib/runtime/dart_sdk.js:73619: + return svg$.SvgElement.abortEvent.forElement(this); On 2016/05/11 17:56:11, John Messerly wrote: ...
4 years, 7 months ago (2016-05-11 17:59:25 UTC) #5
Harry Terkelsen
4 years, 7 months ago (2016-05-11 18:09:09 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
e133d8477961031c2772346218381f09c6cc6a6e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698