Indirecttly used namespace hides system symbol
Original Reporter info from Mantis: PeterJanRoes
-
Reporter name: Peter-Jan Roes
Original Reporter info from Mantis: PeterJanRoes
- Reporter name: Peter-Jan Roes
Description:
When unit A uses unit B that in turn uses a unit with a name of the form "SystemSymbol.*" then "SystemSymbol" is hidden from unit A.
Steps to reproduce:
I have attached a test project that exposes the problem. Here the system symbol is "Integer" and the .dpr is not able to declare a variable of type Integer anymore when unit Test.pas uses unit Integer.Test.pas. As far as I can tell the problem only occurs for system symbols and not for user defined symbols.
Mantis conversion info:
- Mantis ID: 25054
- Fixed in version: 3.0.0
- Fixed in revision: 25536 (#f3963172)
- Monitored by: » PeterJanRoes (Peter-Jan Roes)