CodeTools: error using specialization
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
See below.
Steps to reproduce:
1) Enter code (vertical bar denotes cursor position)
type
generic TG<T> = class end;
TInt = specialize TG<Int>;
procedure P(A: TInt);
begin
A|
end;
2) Press ".", then Ctrl+space
=>
Error: type identifier expected, but TG found
Additional information:
Note:
If you move cursor around before pressing Ctrl+Space,
error changes to "illegal qualifier . found",
which seems to be another bug.
Mantis conversion info:
- Mantis ID: 19741