Fix #233
This commit is contained in:
parent
1996076c73
commit
a3ea47a017
2
dsymbol
2
dsymbol
|
|
@ -1 +1 @@
|
|||
Subproject commit ea0deb0ce566ffced71a427885e069998fc9220a
|
||||
Subproject commit bd1425b5342a8d186bf47ba7982b74a62ddb993f
|
||||
|
|
@ -889,11 +889,9 @@ void setCompletions(T)(ref AutocompleteResponse response,
|
|||
{
|
||||
if (symbols[0].kind == CompletionKind.aliasName)
|
||||
{
|
||||
trace("Got here");
|
||||
if (symbols[0].type is null)
|
||||
return;
|
||||
symbols = [symbols[0].type];
|
||||
trace("Got there", symbols[0].kind);
|
||||
}
|
||||
if (symbols[0].kind == CompletionKind.variableName)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
calltips
|
||||
void function(SDL_Window*, int*, int*)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
calltips
|
||||
void function()
|
||||
|
|
@ -1,7 +1,13 @@
|
|||
alias da_SDL_GL_GetDrawableSize = void function( SDL_Window*, int*, int* );
|
||||
da_SDL_GL_GetDrawableSize SDL_GL_GetDrawableSize;
|
||||
void function() doStuff;
|
||||
|
||||
unittest
|
||||
{
|
||||
SDL_GL_GetDrawableSize(
|
||||
}
|
||||
|
||||
unittest
|
||||
{
|
||||
doStuff(
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
set -e
|
||||
set -u
|
||||
|
||||
dcd-client file.d -c162 > actual1.txt
|
||||
dcd-client file.d -c187 > actual1.txt
|
||||
diff actual1.txt expected1.txt
|
||||
|
||||
dcd-client file.d -c211 > actual2.txt
|
||||
diff actual2.txt expected2.txt
|
||||
|
|
|
|||
Loading…
Reference in New Issue