about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-07-11 14:31:35 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-07-12 19:02:07 -0700
commit78ec6fe30cf2b1e85db76107154d315fde6af8bd (patch)
treee4c4b54ea819d68c8fd7d5a2b5055364488bf15b /src/rt/rust_shape.cpp
parentfec8059ed5cf756adf25742c96f82bf3a240513e (diff)
downloadrust-78ec6fe30cf2b1e85db76107154d315fde6af8bd.tar.gz
rust-78ec6fe30cf2b1e85db76107154d315fde6af8bd.zip
Obliterate the callee_id hack
Exprs that could be applications of overloaded operators
(expr_unary, expr_binary, expr_index) relied on the previous node ID
being "reserved" to carry extra typechecking info. This was
incredibly error-prone. Fixed it; now all exprs have two node IDs
(which will be wasted in some cases; future work could make this
an option instead if the extra int field ends up being a performance
problem).

Closes #2804
Diffstat (limited to 'src/rt/rust_shape.cpp')
0 files changed, 0 insertions, 0 deletions