Commit c71f0c4e authored by alexbiehl's avatar alexbiehl
Browse files

Fix binary instance for SrcStrictness

Summary: Found while revisiting the binary serialization for interface files.

Test Plan: Building and validating currently

Reviewers: austin, bgamari, mpickering

Reviewed By: mpickering

Subscribers: mpickering, thomie

Differential Revision: https://phabricator.haskell.org/D3050
parent 32729d35
......@@ -696,7 +696,7 @@ instance Binary SrcStrictness where
do h <- getByte bh
case h of
0 -> return SrcLazy
1 -> return SrcLazy
1 -> return SrcStrict
_ -> return NoSrcStrict
instance Binary SrcUnpackedness where
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment