Tim Chevalier
f4fb0f9eea
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
This is a compiler and suite of associated libraries and documentation for the Rust programming language. See LICENSE.txt for terms of copyright and redistribution. See http://www.rust-lang.org for more information.
Description
Languages
Rust
96.2%
RenderScript
0.7%
JavaScript
0.6%
Shell
0.6%
Fluent
0.4%
Other
1.3%