Skip to content

Use ? for wildcards #6610

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

Merged
merged 2 commits into from
Jun 5, 2019
Merged

Use ? for wildcards #6610

merged 2 commits into from
Jun 5, 2019

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 5, 2019

Still missing: Use * as a placeholder parameter under -Ykind-projector

@odersky odersky force-pushed the change-wildcards branch from 389eadc to 7048e64 Compare June 5, 2019 13:25
Still missing: Use `*` as a placeholder parameter under -Ykind-projector
@odersky odersky force-pushed the change-wildcards branch from 7048e64 to 943f663 Compare June 5, 2019 13:36
@odersky odersky requested a review from smarter June 5, 2019 14:54
val start = in.skipToken()
typeBounds().withSpan(Span(start, in.lastOffset, start))
}
else if (isIdent(nme.?)) {
Copy link
Member

Choose a reason for hiding this comment

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

Should it be tpnme ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, the idents coming form the token stream are always TermIdents.

@odersky odersky merged commit 57c9308 into scala:master Jun 5, 2019
@allanrenucci allanrenucci deleted the change-wildcards branch June 5, 2019 16:05
@biboudis biboudis added this to the 0.16 Tech Preview milestone Jun 7, 2019
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