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

Issue 1266903004: dart2js: Default values for static functions are now inside closures. (in the startup emitter). (Closed)

Created:
5 years, 4 months ago by floitsch
Modified:
5 years, 4 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Default values for static functions are now inside closures. (in the startup emitter). Since static closures are const values, they can reference each other in the default values: foo([x = bar]) => null; bar([x = foo]) => null; Therefore, we must not reference the default values during tear-off installation (as was the case until now). The corresponding test has been uploaded in https://chromiumcodereview.appspot.com/1255083008/ R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/e9b91c7c929b44c94b80a3e84de010f1dd9f466f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -11 lines) Patch
M pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart View 3 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_helper.dart View 1 chunk +9 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
floitsch
5 years, 4 months ago (2015-07-31 13:11:36 UTC) #2
floitsch
ping.
5 years, 4 months ago (2015-08-03 16:07:58 UTC) #3
Siggi Cherem (dart-lang)
lgtm
5 years, 4 months ago (2015-08-04 02:08:25 UTC) #4
floitsch
5 years, 4 months ago (2015-08-04 11:56:33 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
e9b91c7c929b44c94b80a3e84de010f1dd9f466f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698