Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Protocols with generic where clause fail to parse #29

Open
justin opened this issue Oct 13, 2019 · 0 comments
Open

Protocols with generic where clause fail to parse #29

justin opened this issue Oct 13, 2019 · 0 comments
Labels

Comments

@justin
Copy link
Contributor

justin commented Oct 13, 2019

Example

protocol Foo where BarType: Equatable { }

Result

(program [0, 0] - [1, 0]
  (protocol_declaration [0, 0] - [0, 41]
    (ERROR [0, 9] - [0, 27]
      (identifier [0, 9] - [0, 12])
      (identifier [0, 13] - [0, 18])
      (identifier [0, 19] - [0, 26]))
    (identifier [0, 28] - [0, 37])))
parse_test.swift	0 ms	(ERROR [0, 9] - [0, 27])

Depends on #20, in the sense off it not being too useful without it.

@justin justin added the bug label Oct 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant