https://issues.dlang.org/show_bug.cgi?id=14412
Issue ID: 14412
Summary: Include template specializations in DMD's JSON output
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
Template specializations are currently absent from the JSON output:
T consume(T : int, ubyte N)() {}
results in the following JSON:
---
{
"kind": "template",
"line": 3,
"members": [
{
"kind": "function",
"line": 3,
"endchar": 32,
"char": 3,
"type": "T()",
"name": "consume",
"endline": 3
}
],
"char": 3,
"parameters": [
{
"kind": "type",
"deco": "i",
"name": "T"
},
{
"kind": "value",
"deco": "h",
"name": "N"
}
],
"name": "consume"
}
---
--