diff --git a/dsymbol b/dsymbol index ff8f1fe..5b7f06f 160000 --- a/dsymbol +++ b/dsymbol @@ -1 +1 @@ -Subproject commit ff8f1feb456a24cb88b7a01fff709691e9b0d58d +Subproject commit 5b7f06ff005c63a2bf22db0736097ef35b9d36e7 diff --git a/dub.json b/dub.json index 17127d7..7cdd8a5 100644 --- a/dub.json +++ b/dub.json @@ -7,7 +7,7 @@ ], "license": "GPL-3.0", "dependencies": { - "dsymbol": "~>0.6.3", + "dsymbol": "~>0.6.4", "libdparse": "~>0.11.4", "msgpack-d": "~>1.0.0-beta.7", "stdx-allocator": "~>2.77.5", diff --git a/tests/tc010/expected1.txt b/tests/tc010/expected1.txt index e5c7ec8..6e049e4 100644 --- a/tests/tc010/expected1.txt +++ b/tests/tc010/expected1.txt @@ -1,4 +1,5 @@ identifiers +Base l __monitor v __vptr v alignof k diff --git a/tests/tc010/expected2.txt b/tests/tc010/expected2.txt index c7562af..d888baa 100644 --- a/tests/tc010/expected2.txt +++ b/tests/tc010/expected2.txt @@ -1,4 +1,5 @@ identifiers +Base l __monitor v __vptr v alignof k diff --git a/tests/tc_accesschain_type/expected.txt b/tests/tc_accesschain_type/expected.txt new file mode 100644 index 0000000..0d36946 --- /dev/null +++ b/tests/tc_accesschain_type/expected.txt @@ -0,0 +1,2 @@ +identifiers +foo f diff --git a/tests/tc_accesschain_type/file.d b/tests/tc_accesschain_type/file.d new file mode 100644 index 0000000..a13be38 --- /dev/null +++ b/tests/tc_accesschain_type/file.d @@ -0,0 +1 @@ +interface Base {void foo();} class Derived : Base {int i; void foo(){}} void main(){Derived d; d.Base.f} diff --git a/tests/tc_accesschain_type/run.sh b/tests/tc_accesschain_type/run.sh new file mode 100755 index 0000000..3495fd8 --- /dev/null +++ b/tests/tc_accesschain_type/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +../../bin/dcd-client $1 file.d -c103 > actual.txt +diff actual.txt expected.txt diff --git a/tests/tc_anon_class/expected1.txt b/tests/tc_anon_class/expected1.txt index 587e116..85aa46f 100644 --- a/tests/tc_anon_class/expected1.txt +++ b/tests/tc_anon_class/expected1.txt @@ -1,4 +1,5 @@ identifiers +Bar l __monitor v __vptr v alignof k diff --git a/tests/tc_anon_struct/expected.txt b/tests/tc_anon_struct/expected.txt new file mode 100644 index 0000000..94aeb9b --- /dev/null +++ b/tests/tc_anon_struct/expected.txt @@ -0,0 +1,2 @@ +identifiers +avariable v diff --git a/tests/tc_anon_struct/file.d b/tests/tc_anon_struct/file.d new file mode 100644 index 0000000..4741f69 --- /dev/null +++ b/tests/tc_anon_struct/file.d @@ -0,0 +1 @@ +struct Foo { struct { int avariable; } } void main(){ Foo foo; foo.ava } diff --git a/tests/tc_anon_struct/run.sh b/tests/tc_anon_struct/run.sh new file mode 100755 index 0000000..06bbeb3 --- /dev/null +++ b/tests/tc_anon_struct/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +../../bin/dcd-client $1 file.d -c70 > actual.txt +diff actual.txt expected.txt