Skip to end of metadata
Go to start of metadata

In this compiler step, basic syntax errors are checked.

It checks that:
*Fields And Properties, Fields And Properties, Methods, Functions, Events, Interfaces, Callables, and Classes don't begin with "__", ""get", "set_", "add_", "remove_", or "raise_". These are used internally and using them will throw a ReservedPrefix exception.
*Fields And Properties, Interfaces, and Callables don't have abstract modifiers.
*Fields And Properties, Methods, Functions, Interfaces, and Callables don't have transient modifiers.
*Destructors don't have modifiers or parameters.
*Constructors don't have modifiers or return types
*Destructors don't have return types

It also warns you when you attempt to use an assign "=" rather than a comparison "==" in a conditional.

  • No labels