Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

use clause grammar is incorrect for group clauses #104

Description

@ericlippert

The grammar in ch 20 says that the following are legal:

use \N\ { function C, function D };
use function \N\ { C, D };
use \N\ { C, D };

but this is illegal:

use function \N\ { function C, function D };

HHVM does not actually follow that rule; HHVM allows any use of a kind inside the { }, so only the second and third are legal.

We should fix the grammar so that the contents of the { } list is a use clause list, not a use kind clause list.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions