about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-06-04 17:01:53 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-06-05 15:11:33 -0700
commitebde93861fc004aec9d1fdac528cca9aad9a7612 (patch)
treecd804ad44bd4ac001e9ad342fb5af5729e5a001c /src/rt/rust_kernel.cpp
parentaabf84cdd81351cc63ebdc9e2427203621d19950 (diff)
downloadrust-ebde93861fc004aec9d1fdac528cca9aad9a7612.tar.gz
rust-ebde93861fc004aec9d1fdac528cca9aad9a7612.zip
Allow classes with dtors to be used before declaration
get_item_val could generate an internal compiler error if a class with
a dtor was used before the class itself got translated, because it was
assuming that the dtor's node ID was always in the item_symbols table. Fixed
it to create a new symbol if necessary, and use it subsequently.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions