ferrocene/specification

FunctionBody should not permit a label

Closed this issue · 0 comments

The grammar includes these two productions:

FunctionBody ::=
    BlockExpression
BlockExpression ::=
    Label? {
      InnerAttributeOrDoc*
      StatementList
    }

But a label isn't really permitted on a function body.