Skip to content

Conversation

@Sporarum
Copy link
Contributor

As noted in #47, the grammar did not correspond to the rest of the proposal, this PR solves that

As noted in scala#47, the grammar did not correspond to the rest of the proposal, this PR solves that
@Sporarum Sporarum changed the title Fix and simplify grammar in SIP - #47 Fix and simplify grammar in SIP - 47 Nov 29, 2022
@Sporarum
Copy link
Contributor Author

Sporarum commented Dec 2, 2022

@julienrf What is the process for addendum PRs ?
In particular, who should review this PR, and when can it be merged ?

@julienrf
Copy link
Contributor

julienrf commented Dec 2, 2022

Sorry @Sporarum, I somehow missed your PR. I’ve just asked the original team of reviewers to review it.

DefParamClauseChunk ::= [DefTypeParamClause] TermOrUsingParamClause {TermOrUsingParamClause}
TermOrUsingParamClause ::= DefTermParamClause
DefSig ::= id [DefParamClauses] [DefImplicitClause] -- and two DefTypeParamClause cannot be adjacent
DefParamClauses ::= DefParamClause { DefParamClause }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be clearer if the comment was on this line rather than the line above, but I'm really nitpicking here 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see what you mean, I guess it mostly depends on how we want to use DefParamClauses in other places

I also assumed people would be looking for it first at the DefSig level, so it might be faster if the information is already here

Ultimately, I do not have a strong opinion either way, so maybe the other reviewers can comment on this ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @chrisandrews-ms. If @Kordyjan or @soronpo have a different opinion, please let us know!

@julienrf julienrf merged commit 1f783fb into scala:main Dec 7, 2022
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.

3 participants