extern proc foo(x: u8);
let x: u8 = 123;
foo(123);
In these cases, the type inference is obvious and doesn't require creating a type variable. Creating a type variable involves updating at least two hash maps and so is pretty damn slow.
We might also want to pattern match -. (or maybe that should have already been pattern matched ahead of time? I kind of want to remove synthetic)
In these cases, the type inference is obvious and doesn't require creating a type variable. Creating a type variable involves updating at least two hash maps and so is pretty damn slow.
We might also want to pattern match -. (or maybe that should have already been pattern matched ahead of time? I kind of want to remove
synthetic
)