nim-lang / nimble

Package manager for the Nim programming language.
Other
1.24k stars 174 forks source link

fix issue #1158 #1159

Closed stoneface86 closed 7 months ago

stoneface86 commented 7 months ago

Fix for #1158. When accessing the dataRequires var, nim reports that it is an ambiguous identifier and a module is needed to specify which one (either system or the auto-generated nimscript_xxxxxxxx). By adding dataRequires to the except list in nimscriptwrapper.nim, this error is avoided and the var can now be used as intended.

I have also included a test case in tests/tissues.nim

Araq commented 7 months ago

Excellent work, thank you!