Chromium Code Reviews
DescriptionDefault 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 #
Messages
Total messages: 5 (1 generated)
|
||||||||||||||||||||||||||||