metaeducation / ren-c

Library for embedding a Rebol interpreter into C codebases
GNU Lesser General Public License v3.0
126 stars 27 forks source link

Binding bug involving OBJECT inheritance, METH, PARSE #1126

Open giuliolunati opened 3 years ago

giuliolunati commented 3 years ago

a: make object! [ b: [wrong] r: [ (b: [right] ?? b/1 ?? pick b 1) ] p: meth [ ] [ parse "" r ] ] c: make a [ ] c/p => wrong right

giuliolunati commented 3 years ago

The bug doesn't happen without any of

  1. OBJECT inheritance
  2. METH usage
  3. PARSE

i.e. you must call a METH of a derived OBJECT, inside a PARSE execution