error: 'T' is a value parameter, not a type; introduce a generic type parameter with `$T: Type` --> /Users/agra/projects/sx/examples/1115-diagnostics-cast-value-param-rejected.sx:7:17 | 7 | return cast(T) x; | ^