fix #386 - No ddoc hints for the unions

This commit is contained in:
Basile Burg 2017-06-13 06:59:00 +02:00
parent 21a0c2554f
commit 9b06e92b57
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
5 changed files with 10 additions and 3 deletions

View File

@ -1,14 +1,14 @@
{
"name": "dcd",
"description": "The D Completion Daemon is an auto-complete program for the D programming language",
"copyright": "Copyright © 2015-2016, Brian Schott",
"copyright": "Copyright © 2015-2017, Brian Schott",
"authors": [
"Brian Schott"
],
"license": "GPL-3.0",
"dependencies": {
"dsymbol": "~>0.2.1-alpha.2",
"libdparse": "~>0.7.1-beta.1",
"libdparse": "~>0.7.1-beta.4",
"msgpack-d": "~>1.0.0-beta.3"
},
"versions": ["built_with_dub"],

@ -1 +1 @@
Subproject commit 48c6e39785a8bc2aeda7bacbc2c6bda68612e735
Subproject commit 5e81535d0aff4ceec2cbf03f5b02a31ae6d3fec2

1
tests/tc053/expected.txt Normal file
View File

@ -0,0 +1 @@
U

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

@ -0,0 +1 @@
/**U*/union Un{} Un u;

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

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