Skip to content

Commit 575aae4

Browse files
committed
Saner approach to lvalues and callable values in trans
LValues no longer carry information about generics and objs, instead there's an extended form of lvalue, lval_maybe_callee, only used by call and bind, which holds this info. This makes it possible to take the value of a method and get a working closure, and will (with some more work) allow us to call statically known functions without loading from their pair. Closes rust-lang#435 Closes rust-lang#758
1 parent d9c664e commit 575aae4

File tree

3 files changed

+220
-197
lines changed

3 files changed

+220
-197
lines changed

0 commit comments

Comments
 (0)