Line label name is the same as a builtin command

objectscriptQuality release 
1.0.0
Id 
OS0044
Rule type 
Code Smell
Severity 

Critical

Critical
SQALE characteristic 
  • Reliability
    • Instruction
Tags 
probable-bug, trap
Remediation function 
Constant/issue
Remediation cost 
5min

There is a trap in the following code:

    method m()
    {
        do ..something()
    quit
    }

Here, the quit is actually not the quit command, but a line label.

This is probably a bug which should be fixed.