fix #389 - No completion on auto slices

This commit is contained in:
Basile Burg 2017-06-28 05:42:20 +02:00
parent 1fd445a80b
commit 0dba456abd
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
5 changed files with 20 additions and 2 deletions

@ -1 +1 @@
Subproject commit bf02a7a98007990d8002909a32853d5a68b2952e
Subproject commit 4f03897d0152850919e0d52d1cba8042bd714a33

View File

@ -7,7 +7,7 @@
],
"license": "GPL-3.0",
"dependencies": {
"dsymbol": "~>0.2.1",
"dsymbol": "~>0.2.3",
"libdparse": "~>0.7.1-beta.4",
"msgpack-d": "~>1.0.0-beta.3"
},

12
tests/tc054/expected.txt Normal file
View File

@ -0,0 +1,12 @@
identifiers
alignof k
dup k
idup k
init k
length k
mangleof k
ptr k
reverse k
sizeof k
sort k
stringof k

1
tests/tc054/file.d Normal file
View File

@ -0,0 +1 @@
int[] a; auto b=a[0..$];b.

5
tests/tc054/run.sh Executable file
View File

@ -0,0 +1,5 @@
set -e
set -u
../../bin/dcd-client $1 file.d -c26 > actual.txt
diff actual.txt expected.txt