Skip to content

Can't reference classes #81

@hopewise

Description

@hopewise

it seems that hscript interpreter could not recognize my classes if I used them into script.

ex: I used my classMain , 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions