Inspectopedia
 
2024.3

Target label does not denote a function since 1.4

Error
New
Last modified: 03 December 2024

Reports labels that don't points to a functions.

It's forbidden to declare a target label that does not denote a function.

The quick-fix removes the label.

Example:

After the quick-fix is applied:

This inspection only reports if the language level of the project or module is 1.4 or higher.