You should also be able to do
template final_sort2(v: typed) =
raise newException(Exception, "Incompatible type: " & $v)
RunBecause 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)
RunBecause type overloading does not include return types