Inappropriate compile error: .. does not export main

Description

A compile (via the Eclipse plugin) of a module attribute can result in an error message saying that the module does not export main().

However, if the module attribute has a parameter (even an unused parameter), the error is not raised.

Not having a main() is only an error if the attribute is to be executed. It would be better if this error was not raised at compile time because the error required the programmer to look at the work unit to verify that the error is just a missing main() and not something that requires attention.

Conclusion

None
100% Done
Loading...

Activity

Show:

Richard Chapman January 25, 2017 at 2:50 PM

This may be a regression related to syntax checking of macros.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Point

Fix versions

Pull Request URL

Affects versions

Created January 24, 2017 at 3:24 PM
Updated February 8, 2017 at 4:49 PM
Resolved February 8, 2017 at 4:49 PM