nim Error: undeclared identifier: 'obf'
ybdt opened this issue · 2 comments
in patches.nim file, i have installed
import winim/lean
import dynlib
import strenc
but when compile, it still happened the above error, and i have search "obf" globally, can't found it defination
Hi, could you please follow the issue template for issues like this? Without version numbers or a more accurate description of what is changed it is near impossible to reproduce.
The definition of the obf
macro is here: https://github.com/chvancooten/NimPlant/blob/main/client/util/strenc.nim#L17
Please double check that you went through all the steps of the troubleshooting steps (here: https://github.com/chvancooten/NimPlant#troubleshooting), and that you didn't make any changes relevant to the code linked above. If you import the original strenc
manually you can get rid of the obf()
calls as that macro will automatically rewrite (most) strings.
Closing due to inactivity.