@@ -41,7 +41,7 @@ import Codec.Archive.Zip
4141import Util.Zlib (decompressEither)
4242
4343ibcVersion :: Word16
44−ibcVersion = 111
44+ibcVersion = 112
4545
4646data IBCFile = IBCFile { ver :: Word16,
4747 sourcefile :: FilePath,
@@ -948,6 +948,7 @@ instance Binary Totality where
948948 put x1
949949 Unchecked -> do putWord8 2
950950 Productive -> do putWord8 3
951+ Generated -> do putWord8 4
951952 get
952953 = do i <- getWord8
953954 case i of
@@ -957,6 +958,7 @@ instance Binary Totality where
957958 return (Partial x1)
958959 2 -> return Unchecked
959960 3 -> return Productive
961+ 4 -> return Generated
960962 _ -> error "Corrupted binary data for Totality"
961963
962964instance Binary MetaInformation where
@@ -1007,6 +1009,7 @@ instance Binary FnOpt where
10071009 CExport x1 -> do putWord8 14
10081010 put x1
10091011 AutoHint -> putWord8 15
1012+ PEGenerated -> putWord8 16
10101013 get
10111014 = do i <- getWord8
10121015 case i of
@@ -1028,6 +1031,7 @@ instance Binary FnOpt where
10281031 14 -> do x1 <- get
10291032 return $ CExport x1
10301033 15 -> return AutoHint
1034+ 16 -> return PEGenerated
10311035 _ -> error "Corrupted binary data for FnOpt"
10321036
10331037instance Binary Fixity where