Browse files

[enhance] complete 'variable X appears several…

… times' with a location hint
  • Loading branch information...
1 parent dddacdf commit 5c7aac5dd61f00ac39b2f1a5fba280ac911c7cd8 @OpaOnWindowsNow OpaOnWindowsNow committed Aug 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 passes/
2 passes/
@@ -423,7 +423,7 @@ let unbound kind name all_env label =
make_placeholder label name
let non_linear_pattern name label =
- serror label "the variable @{<bright>%s@} appears several times." name
+ serror label "the variable @{<bright>%s@} appears several times (in function parameters or in a pattern)." name
let invalid_open label =
serror label "you are trying to @{<bright>open@} an invalid expression.";
[], make_placeholder label "open", []

0 comments on commit 5c7aac5

Please sign in to comment.