Ticket #1157 (new todo)

Opened 12 years ago

Last modified 11 years ago

Whitespace before/after the dot in a methodcall is disallowed

Reported by: whiteknight Owned by:
Priority: normal Milestone:
Component: none Version: 1.6.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:


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.

Change History

Changed 11 years ago by coke

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

Note: See TracTickets for help on using tickets.