Skip to content

Moving definitions depending on sixtyfps to other file behaves weird #778

Answered by DaMilyutin
DaMilyutin asked this question in Q&A
Discussion options

You must be logged in to vote

@Vollbrecht , Hi. I guess best way to explain is to show code:
extract-to-module-not-working-for-me.zip

When I cut and paste my code from id_map_data.rs to main.rs it works.

when-it-works.zip

I assume it is because types declared in different files are somehow considered/generated as different.
Maybe, I use macro sixtyfps::include_modules!(); wrong?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tronical
Comment options

Answer selected by DaMilyutin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants