Confusing error messages with ||-closures vs binary "||" #2783
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
produces:
It'd be nice if it checked if the thing on the left had type "fn(fn * -> *) -> *", and said "Did you mean
do foo || ... ?
"The text was updated successfully, but these errors were encountered: