Oninit Logo
The Down System Specialists
Partnerships Contact

-4012 You can only specify a base clause for class constructors.

This function declaration is followed by a colon, class-name, and argument list (in short, a base clause). This syntax is used only when declaring the constructor function for a class (the function whose name is the same as the name of the class), in order to specify function arguments to the constructor of the base class.