Declaring types for local variables #739
Labels
🔧 compiler
Issue concerns the compiler
✨ enhancement
New feature or request
❓ invalid
This doesn't seem right
Right now, local variables inside scope variable definitions (
let x equals ... in ...
syntax) have their types inferred. However, if you define a local variable whose type cannot be inferred completely from its value (like[]
), this throws the desugared typing in a state of confusion and may trigger internal typing error.This issue proposes to fix this problem with two measures :
let x content Foo equals ... in ...
.The text was updated successfully, but these errors were encountered: