invalid warning
Original Reporter info from Mantis: codz
-
Reporter name:
Original Reporter info from Mantis: codz
- Reporter name:
Description:
the compiler said :
'test.pas(6,4) Note: Private field "tObj$1.name" is never used'
and thats wrong ! , but this warning appears only if 'name' field is private , when i turn it to public it compiles without warnings
Steps to reproduce:
program test;
type
generic tObj<T> = class
private
name : string;
end;
var
ps : specialize tObj<int32>;
begin
ps.name := 'Object';
readln;
end.
Mantis conversion info:
- Mantis ID: 33584
- Platform: windows
- Version: 3.0.4
- Fixed in version: 3.3.1