Skip to content

PreErrorChecking

rollynoel edited this page Jun 15, 2013 · 11 revisions

Added by Bot Buider

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.

Clone this wiki locally