Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding bug involving OBJECT inheritance, METH, PARSE #1126

Open
giuliolunati opened this issue Jun 22, 2021 · 1 comment
Open

Binding bug involving OBJECT inheritance, METH, PARSE #1126

giuliolunati opened this issue Jun 22, 2021 · 1 comment
Assignees

Comments

@giuliolunati
Copy link

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
Copy link
Author

giuliolunati commented Jun 22, 2021

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

@hostilefork hostilefork self-assigned this Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants