Aego Playground

Diagnostics

Compiler diagnostics have a code, file, line and column, and often a note:

scripts/player/player.aes:17:21 AES2003 cannot use value of type NodeRef as float in assignment
  note: field Speed has type float

AES1xxx lexical/syntax · AES2xxx types · AES3xxx attributes · AES4xxx packages and imports · AES5xxx bindings · AES6xxx runtime faults. The parser recovers after an error, so one run reports every problem in a file. aego check --explain AES2052 prints the long description of a code; the editor shows it on hover in the Problems panel.

Codes specific to coroutines, signals and script references:

Code Meaning
AES2050 yield outside a coroutine
AES2051 coroutine called without start
AES2052 start target is not a coroutine of this script
AES2053 coroutine is not a script method without a result
AES2054 handler parameters do not match the signal
AES2055 bad Connect handler, or Emit on another script's signal
AES2056 lifecycle method declared as a coroutine
AES2057 wrong yield argument type
AES2058 ScriptRef / GetScript target is not a script type, or is ambiguous
AES2059 lifecycle method or coroutine called through a ScriptRef