Skip to content

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

Open
Luyten-Orion wants to merge 1 commit into
treeform:masterfrom
Luyten-Orion:master
Open

Add forward declare before dumpKey for toJson in jsony.nim#89
Luyten-Orion wants to merge 1 commit into
treeform:masterfrom
Luyten-Orion:master

Conversation

@Luyten-Orion

Copy link
Copy Markdown

Fixes #88 with an error about forward declares.

@Luyten-Orion

Copy link
Copy Markdown
Author

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

@treeform

Copy link
Copy Markdown
Owner

Sorry I don't understand why this is needed?

@Luyten-Orion

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