Open atondwal opened 6 years ago
Same issue as https://github.com/ucsd-progsys/liquidhaskell/issues/1086 i.e. lack of alias expansion and happily fixed by https://github.com/ucsd-progsys/liquidhaskell/pull/1087
This isn't actually completely fixed; it goes away after we turn off instantiation, but the file above, as written, (with instantiation on) still exposes the bug
Ok I think it's a good idea for you to try to fix this one yourself (to familiarize yourself with the code). The issue is that we need to know all the monomorphic sorts at which polymorphic functions are instantiate she. look for the function called apply sorts in fixed point and then follow the links forwards and backwards from there. Let me know if you get stuck?
On Sat, Sep 16, 2017 at 9:23 AM Anish Tondwalkar notifications@github.com wrote:
Reopened #326 https://github.com/ucsd-progsys/liquid-fixpoint/issues/326 .
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/ucsd-progsys/liquid-fixpoint/issues/326#event-1252207992, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkuOJFMdCHivmntC98TUXsjLueLEw9hks5si_WEgaJpZM4PX8Yh .
Wondering if this was related to #335? @atondwal Can you check if it has been fixed by recent changes?
Hmm... seems that this is hitting something else now.
LiquidHaskell Copyright 2013-17 Regents of the University of California. All Rights Reserved.
**** DONE: A-Normalization ****************************************************
**** DONE: annotate ***********************************************************
**** RESULT: ERROR *************************************************************
<no source information>:0:0: Error: Bad Data Specification
GHC.Types.[] :: Mismatch in number of type variables
using LH on file: