Ah, I see. I'm now stuck at an error I don't understand. My code is at
[1], [2], and [3], and the errors I get are:
> /home/shlevy/src/socket-activate/dynamic/socket-activate.dats: 129(line=9, offs=17) -- 145(line=9, offs=33): error(3): the linear dynamic variable [stderr_fileno_pf$63(-1)] is expected to be local but it is not.
> /home/shlevy/src/socket-activate/dynamic/socket-activate.dats: 129(line=9, offs=17) -- 145(line=9, offs=33): error(3): [/home/hwxi/research/Postiats/git/src/pats_trans3_util.dats]: d3exp_trdn: the dynamic expression cannot be assigned the type [S2Eapp(S2Ecst(filedes); S2EVar(1))].
> /home/shlevy/src/socket-activate/dynamic/socket-activate.dats: 129(line=9, offs=17) -- 145(line=9, offs=33): error(3): mismatch of static terms (tyleq):
> The actual term is: S2Eapp(S2Ecst(filedes_impl); S2Eintinf(2))
> The needed term is: S2Eapp(S2Ecst(filedes); S2EVar(1))
I'm afraid I'm lost for both of these. Why is the proof expected to be
local? And why is filedes_impl being exposed?
[1]:
https://github.com/shlevy/socket-activate/blob/WIP/dynamic/socket-activate.dats
[2]:
https://github.com/shlevy/socket-activate/blob/WIP/static/fd.sats
[3]:
https://github.com/shlevy/socket-activate/blob/WIP/dynamic/fd.dats
~Shea
> >
https://groups.google.com/d/msgid/ats-lang-users/20140831020626.GD7772%40nixos.hsd1.nh.comcast.net
> > .
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ats-lang-users/CAPPSPLr4npLL9EzmQE3eEL4%3DG1EaPn%3DKfUDkdx86ukXVp%3DC8RA%40mail.gmail.com.