Less confusing message for SC2140

This commit is contained in:
Vidar Holen 2015-08-02 19:55:47 -07:00
parent 47d68019e5
commit 6d9e8472e6
1 changed files with 1 additions and 1 deletions

View File

@ -1996,7 +1996,7 @@ checkInexplicablyUnquoted _ (T_NormalWord id tokens) = mapM_ check (tails tokens
warnAboutExpansion id = warnAboutExpansion id =
warn id 2027 "The surrounding quotes actually unquote this. Remove or escape them." warn id 2027 "The surrounding quotes actually unquote this. Remove or escape them."
warnAboutLiteral id = warnAboutLiteral id =
warn id 2140 "The double quotes around this do nothing. Remove or escape them." warn id 2140 "Word is on the form \"A\"B\"C\" (B indicated). Did you mean \"ABC\" or \"A\\\"B\\\"C\"?"
checkInexplicablyUnquoted _ _ = return () checkInexplicablyUnquoted _ _ = return ()
prop_checkTildeInQuotes1 = verify checkTildeInQuotes "var=\"~/out.txt\"" prop_checkTildeInQuotes1 = verify checkTildeInQuotes "var=\"~/out.txt\""