fix wrong completion for if variable initialized with an array (#565)
fix wrong completion for if variable initialized with an array merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
parent
6d72497a09
commit
216275ead9
2
dsymbol
2
dsymbol
|
@ -1 +1 @@
|
||||||
Subproject commit 913e1f1207f2488400e383d9e74219eb706fdb05
|
Subproject commit 4606b1608e77af7df58e5d03e18327f623ec25e9
|
2
dub.json
2
dub.json
|
@ -7,7 +7,7 @@
|
||||||
],
|
],
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dsymbol": "~>0.5.6",
|
"dsymbol": "~>0.5.7",
|
||||||
"libdparse": "~>0.10.10",
|
"libdparse": "~>0.10.10",
|
||||||
"msgpack-d": "~>1.0.0-beta.7",
|
"msgpack-d": "~>1.0.0-beta.7",
|
||||||
"stdx-allocator": "~>2.77.5"
|
"stdx-allocator": "~>2.77.5"
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
identifiers
|
||||||
|
alignof k
|
||||||
|
dup k
|
||||||
|
idup k
|
||||||
|
init k
|
||||||
|
length k
|
||||||
|
mangleof k
|
||||||
|
ptr k
|
||||||
|
sizeof k
|
||||||
|
stringof k
|
|
@ -0,0 +1 @@
|
||||||
|
module m; void foo(){if(const s = "string"){s.}}
|
|
@ -0,0 +1,5 @@
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
../../bin/dcd-client $1 file.d -c46 > actual.txt
|
||||||
|
diff actual.txt expected.txt
|
Loading…
Reference in New Issue