Closed sophiajt closed 10 months ago
Example:
fun foo(x: i64) -> i64 { return x } println(x)
This is happening because the function predecl typecheck isn't creating a new scope when the variables are getting created.
Fixed with f460e34617cd4efeea15f74c67827e59c0a0a35b
Example:
This is happening because the function predecl typecheck isn't creating a new scope when the variables are getting created.