jaccomoc/jactl

Error referring to fully qualified class name within a script

jaccomoc opened this issue · 0 comments

In a script where there is a package name specified, a top level class declared within the script cannot be accessed by its fully qualified name.
For example:

package x.y.z
class X{ int i = 3 }
new x.y.z.X()

Leads to this error:

io.jactl.CompileError: Unknown class 'X' in package x.y.z @ line 3, column 11
new x.y.z.X()
          ^