Bug 9480 – The template name in the JSON output contains template and function arguments

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-02-08T02:45:00Z
Last change time
2013-03-24T20:57:12Z
Keywords
json, pull
Assigned to
andrej.mitrovich
Creator
sludwig

Comments

Comment #0 by sludwig — 2013-02-08T02:45:53Z
The JSON output for the following function has "testFunc(T)(T t)" as the "name" field of the template, whereas it should just be "testFunc" (template parameters and function parameters are already mentioned in other fields). Function: void testFunc(T)(T t) {}
Comment #1 by andrej.mitrovich — 2013-02-08T08:04:33Z
Comment #2 by github-bugzilla — 2013-03-02T20:35:55Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c817dac712372de43999477e85db92aafe95eef5 Fixes Issue 9480 - Template name should be stripped of parameters in JSON output. https://github.com/D-Programming-Language/dmd/commit/7681d4cc1b642e6343e31763ed00beac79f48b2e Merge pull request #1644 from AndrejMitrovic/Fix9480 Issue 9480 - Template name should be stripped of parameters in JSON output
Comment #3 by github-bugzilla — 2013-03-24T20:57:12Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c817dac712372de43999477e85db92aafe95eef5 Fixes Issue 9480 - Template name should be stripped of parameters in JSON output. https://github.com/D-Programming-Language/dmd/commit/7681d4cc1b642e6343e31763ed00beac79f48b2e Merge pull request #1644 from AndrejMitrovic/Fix9480