We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
proc
type O[T: Ordinal] = object x: T proc invalid[T]: O[T] = discard let x = invalid[string]() echo typeof(x)
O[system.string]
This should not compile