diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-04 17:01:53 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-05 15:11:33 -0700 |
| commit | ebde93861fc004aec9d1fdac528cca9aad9a7612 (patch) | |
| tree | cd804ad44bd4ac001e9ad342fb5af5729e5a001c /src/rt/rust_kernel.cpp | |
| parent | aabf84cdd81351cc63ebdc9e2427203621d19950 (diff) | |
| download | rust-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
