Skip to content

Conversation

davepagurek
Copy link
Contributor

Resolves #8174

Changes:

  • Changes the index offset we use when identifying the function the user called that triggered an internal error

I was trying to figure out why this was -2 originally. I think maybe at one point we were wrapping internal functions differently? But it looks like we no longer do, and this can match the -1 that we have in 1.x.

Test sketch to see the fix working: https://editor.p5js.org/davepagurek/sketches/eXp2Vc7Xo

PR Checklist

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

Successfully merging this pull request may close these issues.

1 participant