fix #484 - no completion for variable declared in the `IfCondition`s

This commit is contained in:
Basile Burg 2018-05-13 21:41:22 +02:00
parent 46a5d0311a
commit 94c8670efc
7 changed files with 19 additions and 5 deletions

@ -1 +1 @@
Subproject commit d0458897a60137a84f88eefcdd5a0b12ac07cbe7
Subproject commit c261fa119072ce788ef81b8d8fee9a2adddca5d1

@ -1 +1 @@
Subproject commit ddbfbe84c3954ed3e7e3014bfb93e8a943ad8ecb
Subproject commit e018446b028b92c34398032e698c05c0919630ee

View File

@ -7,8 +7,8 @@
],
"license": "GPL-3.0",
"dependencies": {
"dsymbol": "~>0.3.6",
"libdparse": "~>0.8.1",
"dsymbol": "~>0.3.7",
"libdparse": "~>0.8.5",
"msgpack-d": "~>1.0.0-beta.3",
"stdx-allocator": "~>2.77.0"
},

@ -1 +1 @@
Subproject commit 0e18b62cb2fd86ee09ec8457c394bdef409ca542
Subproject commit 157d572401d92bc0639c53e700c58018b6b29f06

View File

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

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

@ -0,0 +1 @@
void foo(){ if (int i = call()){ i. } }

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

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