Clojure

Check for invalid interface method names

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.4
  • Component/s: None
  • Labels:
    None
  • Approval:
    Ok

Description

Dashes are not allowed in method names. However gen-interface does not complain about invalid method names.

See also: http://groups.google.com/group/clojure/browse_thread/thread/c740b3835c437d0

Activity

Hide
Assembla Importer added a comment -

richhickey said: We might have some better method name validity checking somewhere (i.e. not just '-', although that is probably most common)

Show
Assembla Importer added a comment - richhickey said: We might have some better method name validity checking somewhere (i.e. not just '-', although that is probably most common)
Hide
Stuart Sierra added a comment -

Screened.

Without this patch, gen-interface can create methods with invalid names.

Show
Stuart Sierra added a comment - Screened. Without this patch, gen-interface can create methods with invalid names.
Stuart Sierra made changes -
Field Original Value New Value
Approval Test [ 10013 ] Screened [ 10004 ]
Priority Minor [ 4 ]
Reporter Assembla Importer [ importer ]
Rich Hickey made changes -
Approval Screened [ 10004 ] Ok [ 10007 ]
Fix Version/s Approved Backlog [ 10034 ]
Fix Version/s Release 1.4 [ 10040 ]
Stuart Halloway made changes -
Resolution Completed [ 1 ]
Status In Progress [ 3 ] Closed [ 6 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: