Skip to content

Commit

Permalink
style(renamer): 💄 Slightly reword unknown name error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Jun 1, 2024
1 parent bbd9441 commit 8936a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elara/Rename.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ instance ReportableError RenameError where
]
]
let
prettyVarRef n@(Local{}) = pretty (toName $ view unlocated $ varRefVal n) <+> "(declared locally)"
prettyVarRef n@(Local{}) = pretty (toName $ view unlocated $ varRefVal n) <+> "(local variable)"
prettyVarRef (Global (Located _ (Qualified n m))) = pretty (toName n) <+> "(imported from" <+> pretty m <> ")"
possibleTypos =
let intendedText = nameText n
Expand Down

0 comments on commit 8936a7c

Please sign in to comment.