Say we have the following script code:
namespace TestNamespace
{
class MyHappyClass
{
MyHappyClass ()
{
}
void DoSomething ()
{
//Actually should be called: DoNothing ()
}
}
}
void main ()
{
TestNamespace::MyHappyClass ClassInstance;
ClassInstance.DoSomething ();
}
We get the following error:
test.as (17, 1) : INFO : Compiling void main()
test.as (19, 17) : ERR : Identifier 'MyHappyClass' is not a data type
test.as (0, 0) : ERR : Script failed to build
Even if I remove the "TestNamespace::" from the ClassInstance declaration, the compiling error persists