Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dart VM: A closure should be invokable via 'call'. #12550

Closed
ghost opened this issue Aug 19, 2013 · 2 comments
Closed

Dart VM: A closure should be invokable via 'call'. #12550

ghost opened this issue Aug 19, 2013 · 2 comments
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.

Comments

@ghost
Copy link

ghost commented Aug 19, 2013

((p1) => "$p1")(3) -> "3"
((p1) => "$p1").call(3) -> reports error

co19/Language/12_Expressions/14_Function_Invocation/4_Function_Expression_Invocation_A05_t01

@lrhn
Copy link
Member

lrhn commented Aug 20, 2013

The spec actually doesn't say anything about the dynamic meaning of a function expression or extracted closure, not even that it is an object.

Presumably, it should have a "call" method, since a function call expression assumes it, but it is really unspecified.


cc @gbracha.

@ghost ghost added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. labels Aug 20, 2013
@rmacnak-google
Copy link
Contributor

Was fixed sometime in 2014.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

3 participants