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

Eliminate dot in nullary-tag variant patterns #1427

Closed
brson opened this issue Jan 4, 2012 · 4 comments
Closed

Eliminate dot in nullary-tag variant patterns #1427

brson opened this issue Jan 4, 2012 · 4 comments

Comments

@brson
Copy link
Contributor

brson commented Jan 4, 2012

Nobody likes it, but there's no agreement on how to fix it.

@ghost ghost assigned catamorphism Jan 4, 2012
@catamorphism
Copy link
Contributor

(That is, eliminate the '.' after a nullary-tag pattern in an alt)

I'll implement this, by disallowing name conflicts between variables and in-scope nullary tags.

@brson
Copy link
Contributor Author

brson commented Jan 4, 2012

Uh, yeah. Terrible description. I was typing fast. I've updated the title to be more descriptive.

@catamorphism
Copy link
Contributor

c3bc8fa is a transitional version that supports patterns either with or without the '.'. I haven't yet changed all the compiler and library code to not use the '.', so I'm leaving this open.

@catamorphism
Copy link
Contributor

5b028f5 removes support for the '.'. HUZZAH

celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
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

No branches or pull requests

2 participants