Closed Bug 545536 Opened 14 years ago Closed 14 years ago

direct fn in non-call contexts should become closures

Categories

(Servo Graveyard :: Rust, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dherman, Assigned: dherman)

Details

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
Closed: 14 years ago
Resolution: --- → FIXED
Group: servo
You need to log in before you can comment on or make changes to this bug.