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.