Improve error message for non-matching file name
authorTim Chevalier <chevalier@alum.wellesley.edu>
Sun, 6 Apr 2008 19:38:21 +0000 (19:38 +0000)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Sun, 6 Apr 2008 19:38:21 +0000 (19:38 +0000)
commit1377a164d381adf7e311458f16963548733fcbff
tree20f0761219a08c0fcf8d6abb237779375f7e07bc
parent24f608a8eca2d5648d52ce656f8c3a965922ba5f
Improve error message for non-matching file name

I changed the "File name does not match module name" error message so
that it prints out both the declared module name and the expected
module name (before, it was only printing the declared module name.)
compiler/main/GHC.hs