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

fix ability to use .. as an infix operator #19732

Merged
merged 2 commits into from
Dec 28, 2016

Conversation

stevengj
Copy link
Member

As noted by @tkelman, the ability to define .. as an infix operator was accidentally removed in #17623. This restores that capability, and adds a test.

@stevengj
Copy link
Member Author

@tkelman, I'm guessing the cmdlineargs Travis failure on OSX is unrelated?

@tkelman
Copy link
Contributor

tkelman commented Dec 28, 2016

Yeah, I believe that's what #19590 is WIP trying to fix.

@stevengj stevengj added this to the 0.6.0 milestone Dec 28, 2016
@stevengj stevengj added the regression Regression in behavior compared to a previous version label Dec 28, 2016
@@ -863,3 +863,6 @@ end

@test QualifiedStringMacro.SubModule.x"" === 1
@test QualifiedStringMacro.SubModule.y`` === 2

..(x,y) = x + y
Copy link
Member

Choose a reason for hiding this comment

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

I would use let ..(x,y) = x+y ..., or just test the result of parse rather than execute the definition.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok

@JeffBezanson JeffBezanson merged commit 8ed946b into JuliaLang:master Dec 28, 2016
@stevengj stevengj deleted the dotdot branch December 28, 2016 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Regression in behavior compared to a previous version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants