Hi all,
I have some code yielding the following errors:
warning(3): the constraint [S2Eeqeq(S2Eexi(p$6908(12234); ; S2Eapp(S2Ecst(filedes); S2Eintinf(1), S2Evar(p$6908(12234)))); S2Eexi(p$6912(12238); ; S2Eapp(S2Ecst(filedes); S2Eintinf(1), S2Evar(p$6912(12238)))))] cannot be translated into a form accepted by the constraint solver.
error(3): unsolved constraint: C3NSTRprop(main; S2Eeqeq(S2Eexi(p$6908(12234); ; S2Eapp(S2Ecst(filedes); S2Eintinf(1), S2Evar(p$6908(12234)))); S2Eexi(p$6912(12238); ; S2Eapp(S2Ecst(filedes); S2Eintinf(1), S2Evar(p$6912(12238))))))
error(3): unsolved constraint for var preservation
warning(3): the constraint [S2Eeqeq(S2Eexi(p$6909(12235); ; S2Eapp(S2Ecst(filedes); S2Eintinf(2), S2Evar(p$6909(12235)))); S2Eexi(p$6913(12239); ; S2Eapp(S2Ecst(filedes); S2Eintinf(2), S2Evar(p$6913(12239)))))] cannot be translated into a form accepted by the constraint solver.
error(3): unsolved constraint for var preservation
typechecking has failed: there are some unsolved constraints: please inspect the above reported error message(s) for information.
exit(ATS): uncaught exception: _2home_2hwxi_2research_2Postiats_2git_2src_2pats_error_2esats__FatalErrorExn(1025)
I’ve tried making the code less complex in various ways to make a simple test case, and each attempt makes the error go away (though in one case the compiler segfaulted, and in another it hit "exit(ATS): /home/hwxi/research/Postiats/git/src/pats_typerase_dynexp.dats: 18565 (line=816, offs=9) – 18617(line=816, offs=61): match failure.”). Is there any way I can debug this? Should I just attach the whole program?
Thanks,
Shea