Class-local variables of instantiated types not shared across unit boundary
Original Reporter info from Mantis: jcchu
-
Reporter name: JC Chu
Original Reporter info from Mantis: jcchu
- Reporter name: JC Chu
Description:
If the same type parameters (up to type equivalence) are used to instantiate a parametric type, the instantiated type should be the same and there should be a unique copy of its class-local variables. This is not currently the case if instantiations occur in different modules.
Steps to reproduce:
See attached file for a demo.
Mantis conversion info:
- Mantis ID: 23945
- OS: Windows NT
- OS Build: 6.2.9200
- Platform: x86_64
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 997 (#804bfde0)
- Target version: 3.0.0