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.

"require" clauses need to be able to take generic types #105

@ericlippert

Description

@ericlippert

The require clauses have the grammars:

    require-extends-clause:
      require  extends  qualified-name  ;

    require-implements-clause:
      require  implements  qualified-name  ;

But we wish to allow parsing

class Foo<T> { }
trait Bar { 
    require extends Foo<int>; 
}

which does note match that grammar. The grammar should be updated to allow more than just qualified names here.

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