Merge pull request #391 from dlang-community/issue-323

fix #323 - no completion in foreach with index in the ForeachTypeList
This commit is contained in:
Basile Burg 2017-06-30 03:03:40 +02:00 committed by GitHub
commit 9162b042b1
5 changed files with 16 additions and 2 deletions

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

View File

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

8
tests/tc055/expected.txt Normal file
View File

@ -0,0 +1,8 @@
identifiers
alignof k
init k
mangleof k
max k
min k
sizeof k
stringof k

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

@ -0,0 +1 @@
int[]a;void foo(){foreach(i,b;a){b.}}

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

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