diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-06 19:20:38 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-06 19:23:26 -0700 |
| commit | f4fb0f9eea00c619c2b91f83072306e89549c260 (patch) | |
| tree | 6e26c7ce3e24434fddd8ccccdc9e99fbbe47a5e0 /src/rt/rust_kernel.cpp | |
| parent | 3b4cfdeee20eb54d43612fed461729ffa6f6d2ec (diff) | |
| download | rust-f4fb0f9eea00c619c2b91f83072306e89549c260.tar.gz rust-f4fb0f9eea00c619c2b91f83072306e89549c260.zip | |
Handle regions correctly in class ctors and dtors
Class ctors and dtors were always getting assigned the empty region before, which meant a reference to the "self" region in a ctor argument got resolved to a named region called "self" rather than the class's self region, which led to a rather confusing error message as documented in #2502. Closes #2502
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
