Clojure

GC Issue 7: Make syntax-quote Classname. aware

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Reported by richhickey, Dec 17, 2008
should turn into fully.qualified.Classname.

Comment 1 by m...@kotka.de, Jan 02, 2009
The attached patch fixes this issue. It checks for Symbol w/o namespace and a trailing dot.
Then the dot is removed, the Symbol resolved and the dot added again.

The second patch fixes a related issue with .methodName Symbols: those were also resolved
when in fact they should not have been. So the patch checks for Symbols w/o namespace
and a leading dot. Those Symbols are simply left alone and quoted as is.

The second patch should be applied after the first.
 issue-7.diff
785 bytes Download
 issue-7a.diff
611 bytes Download
Comment 2 by richhickey, Jan 07, 2009
Patches applied svn 1202 - thanks!
Status: Fixed

People

  • Assignee:
    Unassigned
    Reporter:
    Anonymous
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: