aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2011-10-22 11:29:06 +0200
committerDavid Waern <david.waern@gmail.com>2011-10-22 11:29:06 +0200
commitdca8a6d07073bcb9fb35c8dd39fc5eeccd142e2a (patch)
treeaceed707e7f3554d44c638417b5fe7419afe70a4 /src
parent089b087c2863bed63302a36591e5c4678b29b466 (diff)
Bump .haddock file version since the format has changed recently
Diffstat (limited to 'src')
-rw-r--r--src/Haddock/InterfaceFile.hs10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Haddock/InterfaceFile.hs b/src/Haddock/InterfaceFile.hs
index 33f28d68..1c2aa360 100644
--- a/src/Haddock/InterfaceFile.hs
+++ b/src/Haddock/InterfaceFile.hs
@@ -64,14 +64,10 @@ binaryInterfaceMagic = 0xD0Cface
-- because we store GHC datatypes in our interface files, we need to make sure
-- we version our interface files accordingly.
binaryInterfaceVersion :: Word16
-#if __GLASGOW_HASKELL__ == 700
-binaryInterfaceVersion = 16
-#elif __GLASGOW_HASKELL__ == 701
-binaryInterfaceVersion = 16
-#elif __GLASGOW_HASKELL__ == 702
-binaryInterfaceVersion = 16
+#if __GLASGOW_HASKELL__ == 702
+binaryInterfaceVersion = 17
#elif __GLASGOW_HASKELL__ == 703
-binaryInterfaceVersion = 16
+binaryInterfaceVersion = 17
#else
#error Unknown GHC version
#endif