You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to access the requiresData var, an error occurs:
Error: Could not read package info file in /mnt/ramdisk/ws/temp/temp.nimble;
... Reading as ini file failed with:
... Invalid section: .
... Evaluating as NimScript file failed with:
... /mnt/ramdisk/ws/temp/temp.nimble(14, 1) template/generic instantiation of `task` from here
... /mnt/ramdisk/ws/temp/temp.nimble(15, 8) Error: ambiguous identifier: 'requiresData' -- use one of the following:
... system.requiresData: seq[string]
... nimscriptapi_402557162.requiresData: seq[string]
... printPkgInfo() failed.
Using system.requiresData results in an empty seq, even though it should contain the nimble file's dependencies. When specifying it from the nimscriptapi_xxxxx module it gives us what we expect. I believe requiresData is missing from the except clause at
Consider this nimble file
When attempting to access the
requiresData
var, an error occurs:Using
system.requiresData
results in an empty seq, even though it should contain the nimble file's dependencies. When specifying it from the nimscriptapi_xxxxx module it gives us what we expect. I believerequiresData
is missing from the except clause atnimble/src/nimblepkg/nimscriptwrapper.nim
Lines 108 to 111 in 4fbb96d
When I manually add
requiresData
to the generated nimscript file in/tmp
it worksThis occurs with nimble versions v0.13.1 and v0.14.2 on my machine.
The text was updated successfully, but these errors were encountered: