Magik Compiler Errors/Warnings Preferences

Set your preferences for the Errors/Warnings behaviour on Opens the Errors/Warnings preference pageMagik > Compiler > Errors/Warnings preference page.

Potential programming problems

Non-explicit class name specification

When enabled, the parser will issue an error or a warning when a class name is improperly specified e.g. instead of an identifier a symbol has been used.

Warning

Unnecessary execute mark

When enabled, the parser will issue an error or a warning whenever it encounters unnecessary (e.g. duplicated) $ execute mark.

Warning

Missing execute mark

When enabled, the parser will issue an error or a warning whenever a Magik code element (e.g. exemplar definition) does not end with $ execute mark.

Warning

Multiple pragma statement

When enabled, the parser will issue an error or a warning whenever it encounters duplicated pragma statements for a Magik code element.

Warning

Missing pragma statement

When enabled, the parser will issue an error or a warning whenever a Magik code element is not classified with a pragma statement.

Warning

Unreachable code

When enabled, the parser will issue an error or a warning whenever it encounters an inactive part of code in a file.

Warning

Potential encoding problems

Missing encoding statement

When enabled, the parser will issue an error or a warning if a file does not start with text_encoding statement.

Warning

Unrecognized encoding symbol

When enabled, the parser will issue an error or a warning whenever it encounters unknown file encoding symbol within text_encoding statement.

Warning

Characters

Invalid unicode value

When enabled, the parser will issue an error or a warning whenever it encounters invalid hexadecimal value for the literal character.

Error

Invalid character name

When enabled, the parser will issue an error or a warning whenever it encounters invalid name of the character.

Error

Magik Compiler Errors/Warnings  preference page

Related concepts

Problems View
Quick Fix
Magik builders