Wierd problem with abstract classes and import statements in Javascript

Hey all,

I've run into a strange problem with my code. I want to create an abstract class with a private variable as a Dictionary but the code I'm using throws up a syntax error. I've narrowed it down to a problem with the combination of an import statement and the abstract keyword. For example:

import System.Collections.Generic;

abstract public class NewClass extends BaseClass
{
}

gives the error 'UCE0001: ';' expected. Insert a semicolon at the end.' on the 'abstract public class...' line but I have no idea why. Removing either the import statement or abstract keyword gets rid of the error.

Can anyone enlighten me as to why the error is there in the first place?

Thanks,

Wibbs

I don't think UnityScript supports abstract classes

abstract class BaseClass
{
}

by itself throws the same error, and

public abstract class BaseClass
{
}

throws an unexpected token error

On the other hand, I don't know how you're managing to get it compiling just by removing the import

your BaseEvent is no work