Merge pull request #496 from BBasile/issue-495

fix #495 - Completion no working on variable named `body`
This commit is contained in:
Sebastian Wilzbach 2018-06-14 18:18:52 +02:00 committed by GitHub
commit c7ea7e081e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 4 deletions

@ -1 +1 @@
Subproject commit 77c4a1140a38828cc10da718519815635873bfae
Subproject commit 3f7eaa1b1e6dd0c5e14d500d0b3d4ba1e1e41138

View File

@ -7,8 +7,8 @@
],
"license": "GPL-3.0",
"dependencies": {
"dsymbol": "~>0.3.9",
"libdparse": "~>0.8.6",
"dsymbol": "~>0.3.10",
"libdparse": "~>0.8.7",
"msgpack-d": "~>1.0.0-beta.3",
"stdx-allocator": "~>2.77.2"
},

@ -1 +1 @@
Subproject commit cf102ff8e848fb18d2ce7056ae61dafb5333012d
Subproject commit 086cf06051bb1f33c94891ba6c39a57f164ee296

View File

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

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

@ -0,0 +1 @@
char body; body.

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

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