From f63bc730c7ea42ca6882f8078eb86be8bf1cc6ad Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Tue, 19 Sep 2017 14:35:36 -0400 Subject: compiler: introduce custom "GhcPrelude" Prelude This switches the compiler/ component to get compiled with -XNoImplicitPrelude and a `import GhcPrelude` is inserted in all modules. This is motivated by the upcoming "Prelude" re-export of `Semigroup((<>))` which would cause lots of name clashes in every modulewhich imports also `Outputable` Reviewers: austin, goldfire, bgamari, alanz, simonmar Reviewed By: bgamari Subscribers: goldfire, rwbarton, thomie, mpickering, bgamari Differential Revision: https://phabricator.haskell.org/D3989 --- compiler/codeGen/CodeGen/Platform/ARM.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/codeGen/CodeGen/Platform/ARM.hs') diff --git a/compiler/codeGen/CodeGen/Platform/ARM.hs b/compiler/codeGen/CodeGen/Platform/ARM.hs index 5d1148496c..a2cb476e04 100644 --- a/compiler/codeGen/CodeGen/Platform/ARM.hs +++ b/compiler/codeGen/CodeGen/Platform/ARM.hs @@ -2,6 +2,8 @@ module CodeGen.Platform.ARM where +import GhcPrelude + #define MACHREGS_NO_REGS 0 #define MACHREGS_arm 1 #include "../../../../includes/CodeGen.Platform.hs" -- cgit v1.2.1