You should also be able to do template final_sort2(v: typed) = raise newException(Exception, "Incompatible type: " & $v) Run
Because type overloading does not include return types
You should also be able to do template final_sort2(v: typed) = raise newException(Exception, "Incompatible type: " & $v) Run
Because type overloading does not include return types