diff --git a/dub.json b/dub.json index 66cd415..059ca62 100644 --- a/dub.json +++ b/dub.json @@ -8,7 +8,7 @@ "license": "GPL-3.0", "dependencies": { "dsymbol": "~>0.3.1", - "libdparse": "~>0.8.0", + "libdparse": "~>0.8.1", "msgpack-d": "~>1.0.0-beta.3", "stdx-allocator": "~>2.77.0" }, diff --git a/libdparse b/libdparse index 970efe3..0e18b62 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit 970efe34e66fc7b3cb93a6ec59984099908070c5 +Subproject commit 0e18b62cb2fd86ee09ec8457c394bdef409ca542 diff --git a/tests/tc_calltip_in_func/expected.txt b/tests/tc_calltip_in_func/expected.txt new file mode 100644 index 0000000..61dfedb --- /dev/null +++ b/tests/tc_calltip_in_func/expected.txt @@ -0,0 +1,2 @@ +calltips +void fun(A param) diff --git a/tests/tc_calltip_in_func/run.sh b/tests/tc_calltip_in_func/run.sh new file mode 100755 index 0000000..7e959cc --- /dev/null +++ b/tests/tc_calltip_in_func/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +../../bin/dcd-client $1 -c66 <<< "class Bar{void fun(A param){}}class Foo{void foo(Bar bar){bar.fun(}}" > actual.txt +diff actual.txt expected.txt