Previous: , Up: Error Reporting   [Index]


3.21.3 Optimizing Expressions And Error Reporting

Error reports may be triggered by expression optimization. Failed function evaluation during optimization is one candidate to error report production.

See Optimizing Expressions.

The expression evaluation logic defines no errors, and thus, the failed attempts to optimization away function calls are without consequences. One result of that is that error messages may be shown multiple times - once for every evaluation attempt during optimization, and there may be more than one attempts, and one final time during the expression evaluation proper.

To prevent showing the same error reports for more than one time, the application would disable error reporting during optimization (and for program interpretation, during parsing). The disabling is application specific, pertaining the exact error reporting mechanism used.

See Error Reporter Construct.

See Imperative Language Interpreter.

See Procedural Language Interpreter.