From 2a86a6aad5040a53ebc1497517d962ca1a00492b Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 24 Aug 2017 11:26:19 +0200 Subject: [PATCH] fix, completion broken after AA lit --- dsymbol | 2 +- dub.json | 2 +- libdparse | 2 +- tests/tc057/expected.txt | 8 ++++++++ tests/tc057/file.d | 1 + tests/tc057/run.sh | 5 +++++ 6 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 tests/tc057/expected.txt create mode 100644 tests/tc057/file.d create mode 100755 tests/tc057/run.sh diff --git a/dsymbol b/dsymbol index 026398b..1f34e2b 160000 --- a/dsymbol +++ b/dsymbol @@ -1 +1 @@ -Subproject commit 026398b6888dbe2fcdf88b87babf1bd4d456f43f +Subproject commit 1f34e2b7a8299869ceb531cb6b76d01ad9145f54 diff --git a/dub.json b/dub.json index 3e5ef0e..d1fa393 100644 --- a/dub.json +++ b/dub.json @@ -8,7 +8,7 @@ "license": "GPL-3.0", "dependencies": { "dsymbol": "~>0.2.8", - "libdparse": "~>0.7.1-beta.7", + "libdparse": "~>0.7.1", "msgpack-d": "~>1.0.0-beta.3" }, "versions": ["built_with_dub"], diff --git a/libdparse b/libdparse index 4229f11..a4cdc47 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit 4229f11828a901ea5379409015f14a033e742906 +Subproject commit a4cdc474a130ecf5ba3be9424cfb23815eeefd3a diff --git a/tests/tc057/expected.txt b/tests/tc057/expected.txt new file mode 100644 index 0000000..9a132a4 --- /dev/null +++ b/tests/tc057/expected.txt @@ -0,0 +1,8 @@ +identifiers +alignof k +init k +mangleof k +max k +min k +sizeof k +stringof k diff --git a/tests/tc057/file.d b/tests/tc057/file.d new file mode 100644 index 0000000..983b8fb --- /dev/null +++ b/tests/tc057/file.d @@ -0,0 +1 @@ +void foo(){const a = [[0]:0]; auto b = true; b.} \ No newline at end of file diff --git a/tests/tc057/run.sh b/tests/tc057/run.sh new file mode 100755 index 0000000..f6a5b08 --- /dev/null +++ b/tests/tc057/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +../../bin/dcd-client $1 file.d -c47 > actual.txt +diff actual.txt expected.txt