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

[WIP] Add test case that repeats directive in extend #2440

Closed

Conversation

m14t
Copy link
Contributor

@m14t m14t commented Feb 7, 2020

While working on #2276, it was discovered that it was possible to extend a type of a non-repeatable directive multiple times. [comment].

At first glance, the duplicate directives on SDL definitions testcase appears to cover this situation, but actually is only throwing errors because the directive is repeated multiple times on the same location.

As discussed in 2020-02-06's Working Group meeting, the consensus was that it should not be possible to extend directives that were already specified.

I believe these test cases should cover the various use-cases, but does not (yet) fix the problem. Help is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant