Importing is only allowed before declaring any classes (AJTERR10001)
Product(s) | KARO.NET Compiler |
---|
Description
A #import
parser instruction was used inside a class or an enum defintion or after it.
test::testClass { #import sl; // ^^^^^^^^^^^ Import parser instruction is invalid here }
How can I resolve this error?
Put the #import
parser exception on top of the file outside the class/enum definition.