mirror of https://github.com/buggins/dlangide.git
Update DCD
This commit is contained in:
parent
b511e32ca3
commit
51728e70eb
4
dub.json
4
dub.json
|
@ -13,8 +13,8 @@
|
|||
|
||||
"dependencies": {
|
||||
"dlangui": { "path": "../dlangui"},
|
||||
"dsymbol": "~>0.4.8",
|
||||
"dcd": "~>0.9.13"
|
||||
"dsymbol": "~>0.11.2",
|
||||
"dcd": "~>0.13.6"
|
||||
},
|
||||
|
||||
"copyFiles-windows": [
|
||||
|
|
|
@ -238,7 +238,7 @@ class DCDInterface : Thread {
|
|||
override void performRequest() {
|
||||
AutocompleteResponse response = getDoc(request, *getModuleCache(_importPaths));
|
||||
|
||||
result.docComments = response.docComments.dup;
|
||||
//result.docComments = response.docComments.dup; TODO_GRIM: Fix
|
||||
result.result = DCDResult.SUCCESS;
|
||||
|
||||
debug(DCD) Log.d("DCD doc comments:\n", result.docComments);
|
||||
|
@ -318,9 +318,7 @@ class DCDInterface : Thread {
|
|||
result.output.length = response.completions.length;
|
||||
int i=0;
|
||||
foreach(s;response.completions) {
|
||||
char type = 0;
|
||||
if (i < response.completionKinds.length)
|
||||
type = response.completionKinds[i];
|
||||
char type = s.kind;
|
||||
result.output[i].kind = type;
|
||||
result.output[i].name = to!dstring(s.identifier);
|
||||
i++;
|
||||
|
|
Loading…
Reference in New Issue