mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 01:01:59 +03:00
Update src/Idris/Error.idr
This commit is contained in:
parent
b48a2d11f0
commit
1631326887
@ -644,7 +644,7 @@ perrorRaw (OperatorBindingMismatch fc {print=p} expected actual opName rhs candi
|
|||||||
spellingCandidates = case candidates of
|
spellingCandidates = case candidates of
|
||||||
[] => []
|
[] => []
|
||||||
[x] => ["Did you mean" <++> enclose "'" "'" (pretty0 x) <++> "?"]
|
[x] => ["Did you mean" <++> enclose "'" "'" (pretty0 x) <++> "?"]
|
||||||
xs => ["Did you mean one of:" <++> hcat (punctuate ", "
|
xs => ["Did you mean either of:" <++> hcat (punctuate ", "
|
||||||
(map (enclose "'" "'" . pretty0) xs)) <++> "?"]
|
(map (enclose "'" "'" . pretty0) xs)) <++> "?"]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user