Add the implicit 'import Prelude' in getImports
authorSimon Marlow <marlowsd@gmail.com>
Wed, 3 Mar 2010 11:22:42 +0000 (11:22 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 3 Mar 2010 11:22:42 +0000 (11:22 +0000)
commit4917397e279b0aa755eb09e1ca62913237132895
tree56ab43e76ed183aa904837dd81733a960844623d
parent8693219d6b33a2174254cb0fb23b9ba2ad90b272
Add the implicit 'import Prelude' in getImports
This makes things more consistent, and avoids a strange "Prelude is
not loaded" error when there is a Prelude.hs on the search path.
compiler/main/DriverMkDepend.hs
compiler/main/HeaderInfo.hs
compiler/rename/RnNames.lhs