Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

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.