Class ErrorDirective

java.lang.Object
org.ek9lang.compiler.directives.ErrorDirective
All Implemented Interfaces:
Directive

public class ErrorDirective extends Object implements Directive
To be used in EK9 source code to assert that an error will be created. Use this just before the statement that should cause a compiler error. The first parameter is the phase that the error should be detected in The second parameter is the type of error that should be generated. @Error: SYMBOL_DEFINITION: RETURNING_NOT_REQUIRED
See Also: