This no longer compiles.
    
    
    foo.nim(155, 7) template/generic instantiation from here
    foo.nim(66, 15) Error: 'export' is only allowed at top level
        template `+`*[T](p: ptr T, off: int): ptr T =
                    ^
    

I think the start (*) needs to be removed. Also, is there a way to suppress 
warnings for these specific templated procs? 
    
    
    {.push hint[XDeclaredButNotUsed]: off.}
    template ...
    {.pop.}
    
    

That did not work.

Reply via email to