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

Whitespace before/after the dot in a methodcall is disallowed #374

Closed
Whiteknight opened this issue Oct 28, 2009 · 2 comments
Closed

Whitespace before/after the dot in a methodcall is disallowed #374

Whiteknight opened this issue Oct 28, 2009 · 2 comments

Comments

@Whiteknight
Copy link
Contributor

From a tangential discussion at RT #57656.

IMCC currently allows the following syntax forms:

foo. bar()
foo .bar()

Notice the whitespace before and after the dot in the method call. These should be disallowed: No whitespace should be allowed before or after the dot in the method call. This helps to differentiate it from the dot as a concatenation operator.

Originally http://trac.parrot.org/parrot/ticket/1157

@coke
Copy link
Contributor

coke commented Dec 6, 2010

The current syntax should probably be setup to warn asap, before removal.

@Whiteknight
Copy link
Contributor Author

I'm closing this ticket now. This ticket is old, I can't remember why we wanted this change in the first place and either it's fixed already or we're living fine without it. Either way, this ticket doesn't contain much rationale and doesn't seem actionable or motivational. Closed.

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

No branches or pull requests

2 participants