Backseating-Committee-2k/Backlang
The issue has been closed
Look at something like type assumptions #225
furesoft posted onGitHub
an type assumption could automattily add a type check and cast whn accessing an variable/field/property.
func main() {
let k: obj = someExternalFunc();
assume k is i32; // automaticly cast k to i32 when accessing it
}