Menu

#291 Quasi-term matching ignores different data

closed-fixed
3
2006-02-21
2006-02-21
No

Submitted by Kevin Reid at
http://www.eros-os.org/pipermail/e-lang/2006-February/011104.html
:

Problem:

? def term`1` := term`2`
# value: term`2`

Expected:

? def term`1` := term`2`
# problem: 1 doesn't match: term`2`

The bug seems to be in QFunctor#matchBindSlice; that
"if (myOptData
instanceof Twine ...)" should have "else { return -1; }".

(I translated this code to E for my own Term
implementation, and
found that it did not pass the tests I wrote.)

Discussion

  • Mark Samuel Miller

    • status: open --> closed
     
  • Mark Samuel Miller

    • status: closed --> closed-fixed
     
  • Mark Samuel Miller

    Logged In: YES
    user_id=54168

    Yup, that fixed it. The fix will be in the first release
    after 0.8.36h.

     

Log in to post a comment.