Closed
Bug 545536
Opened 15 years ago
Closed 15 years ago
direct fn in non-call contexts should become closures
Categories
(Servo Graveyard :: Rust, defect)
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);
}
Comment 1•15 years ago
|
||
This is already tested and appears to work successfully in fun-indirect-call.rs. Closing.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Group: servo
You need to log in
before you can comment on or make changes to this bug.
Description
•