I have this struct created in a file:
I’m including it on another file using:
But, when a try to call the constructor of the struct inside of a function like this:
I get this error:
ERROR: LoadError: UndefVarError: e not defined
Stacktrace:
[1] generate_env()
@ Main ~/path/to/file/data_gen.jl:161
[2] top-level scope
@ ~/path/to/file/data_gen.jl:167
in expression starting at /path/to/file/data_gen.jl:167
Could someone help me?