[fpc-pascal] "Double" specialization of generic class
    Sven Barth 
    pascaldragon at googlemail.com
       
    Tue Apr 15 07:34:50 CEST 2014
    
    
  
On 15.04.2014 03:51, Xiangrong Fang wrote:
> Hi,
>
> I got strange ppcx64 error: -139, which I found is caused by this:
>
> type
>    TNodeStack = specialize TVector<TNodeHash>;
>
> where TNodeHash itself is a specialization:
>
> type
>    PNode = ^TNode; //TNode is a plain record
>    TNodeHash = specialize TTreap<Integer, PNode>;
>
> Is it true that specialization of a generic class using another
> specialized generic class is not allowed?
No, that should work. Maybe some bug. Is there any error message? Could 
you present the full compiler output, please? You are using 2.7.1, right?
Regards,
Sven
    
    
More information about the fpc-pascal
mailing list