Chromium Code Reviews
DescriptionSupport getting of static functions.
Example:
class A {
foo() => 499;
}
main() { ... var f = A.foo; ... f(); }
Implemented by using the static function as container for the
closure call methods. In JS:
<foo> = function() { return 499; }
<foo>.call$0 = <foo>;
// If necessary add stubs for named arguments on <foo> too.
Committed: https://code.google.com/p/dart/source/detail?r=4184
Patch Set 1 #
Total comments: 4
Patch Set 2 : Update comments. #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||