metaborg/dynsem

Rule could not be type checked

eelcovisser opened this issue · 4 comments

Rule could not be type checked. This is a bug, please report it.

after adding the tuple result

  Program(_, fdecls, instrs) -init-> (v, H, FS)
  where
    fdecls --> FD; 
    table(instrs) --> JT; 
    FD, JT |- instrs :: H {}, FS [] : FrameStack -eval-> v :: H, FS.

Thanks for the report. What is the type of the init arrow?

The issue: arrow was declared to return a Value (I changed the type for the wrong arrow). So, it seems the type checker has a problem with tuple types here.