Hello everyone,
Considering this simple example,
#importMe.nim
proc something*() : int =
return 1
#compileMe.nim
import importMe
template returnModule() : untyped =
importMe
echo returnModule().something()
why is it not possible to return the importMe module name from the returnModule template? The compiler spits out this error:
Error: expression 'importMe' has no type (or is ambiguous)