direct fn in non-call contexts should become closures

RESOLVED FIXED

Status

Servo
Rust
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: dherman, Assigned: dherman)

Tracking

Details

(Assignee)

Description

8 years ago
For example:

let auto g = f;
g(1, 2, 3);

or even:

fun f(...) { ... }

fun main() {
    higher_order(f);
}
This is already tested and appears to work successfully in fun-indirect-call.rs. Closing.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Group: servo
You need to log in before you can comment on or make changes to this bug.