mirror of
https://github.com/dlang-community/DCD.git
synced 2025-04-26 13:19:56 +03:00
fix #484 - no completion for variable declared in the IfCondition
s
This commit is contained in:
parent
46a5d0311a
commit
94c8670efc
7 changed files with 19 additions and 5 deletions
|
@ -1 +1 @@
|
|||
Subproject commit d0458897a60137a84f88eefcdd5a0b12ac07cbe7
|
||||
Subproject commit c261fa119072ce788ef81b8d8fee9a2adddca5d1
|
2
dsymbol
2
dsymbol
|
@ -1 +1 @@
|
|||
Subproject commit ddbfbe84c3954ed3e7e3014bfb93e8a943ad8ecb
|
||||
Subproject commit e018446b028b92c34398032e698c05c0919630ee
|
4
dub.json
4
dub.json
|
@ -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
|
8
tests/tc_if_var/expected.txt
Normal file
8
tests/tc_if_var/expected.txt
Normal 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
1
tests/tc_if_var/file.d
Normal file
|
@ -0,0 +1 @@
|
|||
void foo(){ if (int i = call()){ i. } }
|
5
tests/tc_if_var/run.sh
Executable file
5
tests/tc_if_var/run.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
set -e
|
||||
set -u
|
||||
|
||||
../../bin/dcd-client $1 file.d -c37 > actual.txt
|
||||
diff actual.txt expected.txt
|
Loading…
Add table
Add a link
Reference in a new issue