@@ -41,7 +41,7 @@ import Codec.Archive.Zip
41import Util.Zlib (decompressEither)
41import Util.Zlib (decompressEither)
43ibcVersion :: Word16
43ibcVersion :: Word16
44−ibcVersion = 111
44+ibcVersion = 112
46data IBCFile = IBCFile { ver :: Word16,
46data IBCFile = IBCFile { ver :: Word16,
47 sourcefile :: FilePath,
47 sourcefile :: FilePath,
@@ -948,6 +948,7 @@ instance Binary Totality where
949 Unchecked -> do putWord8 2
949 Unchecked -> do putWord8 2
950 Productive -> do putWord8 3
950 Productive -> do putWord8 3
951+ Generated -> do putWord8 4
952 = do i <- getWord8
953 = do i <- getWord8
953 case i of
954 case i of
@@ -957,6 +958,7 @@ instance Binary Totality where
957 return (Partial x1)
958 return (Partial x1)
958 2 -> return Unchecked
959 2 -> return Unchecked
959 3 -> return Productive
960 3 -> return Productive
961+ 4 -> return Generated
960 _ -> error "Corrupted binary data for Totality"
962 _ -> error "Corrupted binary data for Totality"
962instance Binary MetaInformation where
964instance Binary MetaInformation where
@@ -1007,6 +1009,7 @@ instance Binary FnOpt where
1007 CExport x1 -> do putWord8 14
1009 CExport x1 -> do putWord8 14
1009 AutoHint -> putWord8 15
1011 AutoHint -> putWord8 15
1012+ PEGenerated -> putWord8 16
1011 = do i <- getWord8
1014 = do i <- getWord8
1012 case i of
1015 case i of
@@ -1028,6 +1031,7 @@ instance Binary FnOpt where
1028 14 -> do x1 <- get
1031 14 -> do x1 <- get
1029 return $ CExport x1
1032 return $ CExport x1
1030 15 -> return AutoHint
1033 15 -> return AutoHint
1034+ 16 -> return PEGenerated
1031 _ -> error "Corrupted binary data for FnOpt"
1035 _ -> error "Corrupted binary data for FnOpt"
1033instance Binary Fixity where
1037instance Binary Fixity where