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

Add forward declare before dumpKey for toJson in jsony.nim #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Luyten-Orion
Copy link

Fixes #88 with an error about forward declares.

@Luyten-Orion
Copy link
Author

This is confirmation of the fix working: https://github.com/Luyten-Orion/Supernovae/actions/runs/9423600338/job/25962330132

@treeform
Copy link
Owner

Sorry I don't understand why this is needed?

@Luyten-Orion
Copy link
Author

Sorry for the late reply: I'm not sure why the error actually happens, I assume it's due to some template magic that trips up Nim, in #88 I linked my repo to show the issue but couldn't figure out a reproducible example

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.

[Bug] {nimble pkg dir}/jsony.nim(739, 15) Error: attempting to call undeclared routine: 'toJson'
2 participants