implicit operator in generic records causes compiler error
Original Reporter info from Mantis: Necem
-
Reporter name:
Original Reporter info from Mantis: Necem
- Reporter name:
Description:
fpc build from git-svn-id:
http://svn.freepascal.org/svn/fpc/trunk@30287 3ad0048d-3df7-0310-abae-a5850022a9f2
TGeneric<Foo, Bar> = record
public type
TGFB = TGeneric<Foo, Bar>;
public
class operator implicit(aFoo : Foo) : TGFB;
class operator implicit(aBar : Bar) : TGFB;
end;
results in:
Function is already declared Public/Forward "operator :=(<undefined type>):<record type>;"
Mantis conversion info:
- Mantis ID: 27750
- Fixed in version: 3.1.1
- Fixed in revision: 30705 (#19c6d72c)