Hi, i'm trying to assign the result of a template, but apparently the compiler 
gets confused unless I surround the template with (block: ...)
    
    
    template foo(p: untyped): auto =
          1
    
    let x = (block:
               foo:
                discard)
    
    let y =
            foo:
              discard
    

is this a bug ?

thanks!

Reply via email to