[CLJ-1202] protocol fns with dashes may get compiled into property access when used higher order Created: 16/Apr/13 Updated: 14/Aug/13 Resolved: 14/Aug/13
|Affects Version/s:||Release 1.5|
|Fix Version/s:||Release 1.6|
|Patch:||Code and Test|
Problem: Protocol functions with leading hyphens may be incorrectly compiled into field accesses.
Cause: This was caused by
Solution: Emit forms like (. foo (bar)) instead of (. foo bar), so that names starting with a - don't look like field accesses.
|Comment by Alan Malloy [ 18/Apr/13 7:18 PM ]|
Attached patch fixes the issue, and adds regression test for it.
|Comment by Gabriel Horner [ 10/May/13 3:19 PM ]|
Verified patch works
|Comment by Stuart Sierra [ 02/Aug/13 2:21 PM ]|
Screened and cleaned up description.
|Comment by Alex Miller [ 08/Aug/13 1:07 AM ]|