improve the cyclic module error message as per #1856
authorSimon Marlow <marlowsd@gmail.com>
Wed, 16 Sep 2009 20:50:36 +0000 (20:50 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 16 Sep 2009 20:50:36 +0000 (20:50 +0000)
commit49f7919e6b724042d37df3b14c4b7fa81f33b723
tree7e810fe205cfe30ea03aed75869a6900fb6034a0
parente6ca2d4ac1e3d86bd93e5884fbae03151c708862
improve the cyclic module error message as per #1856

 - remove the main: stuff
 - show the filenames
 - don't clutter the output with imports that aren't involved in
   the cycle
compiler/main/GHC.hs