[CLJS-431] namespace and name fail on '/ Created: 27/Nov/12 Updated: 30/Nov/12 Resolved: 30/Nov/12 |
|
| Status: | Resolved |
| Project: | ClojureScript |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Defect | Priority: | Minor |
| Reporter: | Brandon Bloom | Assignee: | Unassigned |
| Resolution: | Completed | Votes: | 0 |
| Labels: | patch, patch, | ||
| Attachments: |
|
| Patch: | Code and Test |
| Description |
|
Both the 'namespace and the 'name functions use .lastIndexOf to search for "/". This fails on the division symbol if you don't provide a starting index to search from. |
| Comments |
| Comment by David Nolen [ 30/Nov/12 11:56 AM ] |
|
fixed in commit 5ac15039c685af19810dc5b35f06a496be1f3369 |