This commit is contained in:
Hackerpilot 2015-08-07 16:51:50 -07:00
parent 1996076c73
commit a3ea47a017
6 changed files with 15 additions and 4 deletions

@ -1 +1 @@
Subproject commit ea0deb0ce566ffced71a427885e069998fc9220a
Subproject commit bd1425b5342a8d186bf47ba7982b74a62ddb993f

View file

@ -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)
{

View file

@ -0,0 +1,2 @@
calltips
void function(SDL_Window*, int*, int*)

View file

@ -0,0 +1,2 @@
calltips
void function()

View file

@ -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(
}

View file

@ -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