Community
Participate
Working Groups
The mapping main() ... construct is a legacy feature which has come from the Borland's initial contribution. It should be deprecated by a compiler warning message, but kept functional for the Galileo release to ensure backward compatibility. It will be removed after. 1) the compiler should produce "Parameter declaration in the 'main' operation is deprecated." warning on non-mapping main operation using parameters. Though the spec grammar supports this, it is completely undefined how to handle this case. 2) it should be disallowed to define the main operation as a query or helper.
Fixed