It is list of code errors that will be detected by our editor.
-
Unexpected symbol.
var a = $ 5; -
Missing quote at the string literal end.
-
Unexpected token encountered.
-
Expected specific token, but was not found.
func a ( n: ) // expecting type of parameter -
Expected expression.
var a = ; -
Conflicting declaration of variable, procedure (proc) or function (func). For functions and procedures overloads are possible.
-
Unresolved symbol - variable, function, or procedure call cannot be resolved by name. (Declaration was not found.)
-
Type mismatches occur in:
- Variable assignments
- Conditions for
iforwhilestatements - Expressions with various operators and types
-
Missing return statement inside function body.
-
Unexpected return statement encountered not inside function body scope.
-
Unresolved overload - none of the function/ procedure overloads is suitable for provided arguments types.
-
Ignored return value - calling function without using it return value.
func(); -
No return value - when calling procedure inside expression.
a = 1 + proc(); -
Invalid operator - using binary operator instead of unary.
a = %"someString" -
Outside global scope function or procedure declaration (for example, inside another function or block).