X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fparser%2FRdrHsSyn.lhs;h=b86068cf0f314f453e5292a2e024fa3d36d6f8ac;hp=2700c6fe5435b8177cc4dc10a697f9449dd5f7a3;hb=3ddb6bb4edf70b2456d789f34d3f56541818a696;hpb=77166b1729061531eeb77c33f4d3b2581f7d4c41 diff --git a/compiler/parser/RdrHsSyn.lhs b/compiler/parser/RdrHsSyn.lhs index 2700c6f..b86068c 100644 --- a/compiler/parser/RdrHsSyn.lhs +++ b/compiler/parser/RdrHsSyn.lhs @@ -871,7 +871,7 @@ checkValSig lhs@(L l _) _ | looks_like_foreign lhs = parseError l "Invalid type signature; perhaps you meant to use -XForeignFunctionInterface?" | otherwise - = parseError l "Invalid type signature" + = parseError l "Invalid type signature: should be of form :: " where -- A common error is to forget the ForeignFunctionInterface flag -- so check for that, and suggest. cf Trac #3805