HaxeFoundation / HaxeFoundation/hscript
Can't reference classes
Open
- Dominant language
- Haxe
- Stars
- 309
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Description
it seems that hscript interpreter could not recognize my classes if I used them into script.
ex: I used my class`Main` , I got error when tried to execute:
```
js__$Boot_HaxeError {val: {…}, stack: "Error: EUnknownVariable(Main)↵ at hscript_Inter
```
I used to import my class `Main` at the same place where I execute the script.
I also, tried to use the full package name to reference the Main class `com.clientside.main.Main`, I got error:
```
v: "com"
__enum__: "hscript.Error"
stack: Error: EUnknownVariable(com)
```
Any idea?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.