Open kitech opened 5 years ago
I don't understand this issue. This should always be a compile-time failure, not a "hint".
I want to know where exactly raise the exception when this message show. I think switch hints=on
will show more verbose info.
Looking at the code for that switch: https://github.com/nim-lang/Nim/blob/79c721d41814b4ec5f5c6e32c2093125cb41258c/compiler/sempass2.nim#L900-L904
I doubt you'll get what you want with it on.
https://github.com/nim-lang/Nim/blob/79c721d41814b4ec5f5c6e32c2093125cb41258c/compiler/sempass2.nim#L915