Missing semicolon error reported at the following token and not at the actual source of issue #5947
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler
General compiler. Should eventually become more specific as the issue is triaged
As reported by @SilentCicero, "Sway incorrectly errors when there is a missing semicolon after a use statement. It thinks the semicolon is missing in the ABI, when in fact it was missing after the use statement. In this example, the semicolon is missing after the use statement, but it wrongly states its missing in the ABI. This was very confusing to debug."
The text was updated successfully, but these errors were encountered: