Typo, should be

module ...

ff(x::Type{Val{1}}) = 1

x = 1
a = ff(Val{x})

const y = 1
a = ff(Val{y})

end

>
>

Reply via email to