Merge pull request #622 from dlang-community/issue-620

Fix #620
merged-on-behalf-of: Jan Jurzitza <gh@webfreak.org>
This commit is contained in:
The Dlang Bot 2020-08-11 07:45:01 +02:00 committed by GitHub
commit 92db048696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 35 additions and 9 deletions

View File

@ -4,5 +4,5 @@ preGenerateCommands "rdmd \"$PACKAGE_DIR/dubhash.d\""
sourcePaths "src"
importPaths "src"
dependency "msgpack-d" version="~>1.0.0-beta.7"
dependency "msgpack-d" version="1.0.1"
versions "built_with_dub"

@ -1 +1 @@
Subproject commit a978c3cda3f6ec3ba7449ec5c08dd5cd4dd79c6e
Subproject commit f4e79375539554b3793adf1c557361a64a073524

@ -1 +1 @@
Subproject commit 71168a8449958e1807a8ba22c8a4df15456bae83
Subproject commit f9a3d302527a9e50140991562648a147b6f5a78e

View File

@ -1,17 +1,17 @@
{
"name": "dcd",
"description": "The D Completion Daemon is an auto-complete program for the D programming language",
"copyright": "Copyright © 2015-2017, Brian Schott",
"copyright": "Copyright © 2015-2020, Brian Schott",
"authors": [
"Brian Schott"
],
"license": "GPL-3.0",
"dependencies": {
"dsymbol": ">=0.11.0 <0.12.0",
"libdparse": ">=0.15.0 <0.16.0",
"dsymbol": ">=0.11.2 <0.12.0",
"libdparse": ">=0.15.4 <0.16.0",
":common": "*",
"stdx-allocator": "~>2.77.5",
"emsi_containers": "~>0.8.0-alpha.15"
"emsi_containers": "~>0.8.0-alpha.19"
},
"subPackages": ["common"],
"versions": ["built_with_dub"],

@ -1 +1 @@
Subproject commit f9a82848fe98a84f38a66df950514c3556e7fb2d
Subproject commit 1393ee4d0c8e50011e641e06d64c429841fb3c2b

@ -1 +1 @@
Subproject commit 19d9245e315a85763754ded6912c2375c9226e04
Subproject commit 480f3bf9ee80ccf6695ed900cfcc1850ba8da991

View File

@ -4,4 +4,7 @@ class FooTest
{
void member1() { int b; }
void member2() in {} do {}
void member3() in(true) out(a; true) do {}
void member4() out(; things) do {}
void member5() do {}
}

View File

@ -0,0 +1,12 @@
struct UselessStruct
{
static if (true)
{
unittest {}
}
private:
}
int someNumber;

2
tests/tc620/expected.txt Normal file
View File

@ -0,0 +1,2 @@
identifiers
someNumber v

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

@ -0,0 +1 @@
import tc620_import; some

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

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

View File

@ -7,6 +7,9 @@ init k
mangleof k
member1 f
member2 f
member3 f
member4 f
member5 f
sizeof k
stringof k
tupleof k