Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing "type-constraint" in grammar for "mod-constraint" #6668

Closed
vicuna opened this issue Nov 21, 2014 · 1 comment
Closed

Missing "type-constraint" in grammar for "mod-constraint" #6668

vicuna opened this issue Nov 21, 2014 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Nov 21, 2014

Original bug ID: 6668
Reporter: @lpw25
Status: closed (set by @damiendoligez on 2016-03-23T13:10:01Z)
Resolution: fixed
Priority: normal
Severity: tweak
Target version: 4.03.0+dev / +beta1
Fixed in version: 4.03.0+dev / +beta1
Category: documentation

Bug description

The grammar for "mod-constraint" includes:

type [type-params]  typeconstr  type-equation

it should actually be:

type [type-params]  typeconstr  type-equation { type-constraint }

because constraints are allowed on with constraints (although they don't actually do anything since they must match the definition and are not required if the definition does have them).

@vicuna
Copy link
Author

vicuna commented Mar 23, 2016

Comment author: @damiendoligez

Fixed in 4.03 (commit a041fed) and trunk (commit 8af9795).

@vicuna vicuna closed this as completed Mar 23, 2016
@vicuna vicuna added this to the 4.03.0 milestone Mar 14, 2019
@vicuna vicuna added the bug label Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant