Created
January 24, 2018 04:47
-
-
Save jbrown215/a9b7337fb939c6299621930781e99c3a to your computer and use it in GitHub Desktop.
LH Repro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LiquidHaskell v0.8.2.2 Copyright 2013-17 Regents of the University of California. All Rights Reserved. | |
**** DONE: A-Normalization **************************************************** | |
**** DONE: annotate *********************************************************** | |
**** RESULT: ERROR ************************************************************* | |
/Users/JordanBrown/research/binah/db-lib/src/Lib.hs:59:10: Error: Uh oh. | |
59 | {-@ data Blob = Blob { blobXVal :: Int, blobYVal :: Int } @-} | |
^ | |
The types for the wrapper and worker data constructors cannot be merged | |
x1:Int -> x2:Int -> Blob | |
xx1:Int# -> xx2:Int# -> {VV : Blob | ((Lib.blobYVal VV) = xx2), | |
((Lib.blobXVal VV) = xx1), | |
((lqdc##$select##Models.Blob##2 VV) = xx2), | |
((lqdc##$select##Models.Blob##1 VV) = xx1), | |
((is$Models.Blob VV) <=> true)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment