diff --git a/dsymbol b/dsymbol index 239b137..9d3711a 160000 --- a/dsymbol +++ b/dsymbol @@ -1 +1 @@ -Subproject commit 239b137b280c06864b73fcc1d00b75e06568d4c2 +Subproject commit 9d3711ae6db776343bf39d73551f3f86ea97591f diff --git a/dub.json b/dub.json index 563618a..66cd415 100644 --- a/dub.json +++ b/dub.json @@ -7,7 +7,7 @@ ], "license": "GPL-3.0", "dependencies": { - "dsymbol": "~>0.3.0", + "dsymbol": "~>0.3.1", "libdparse": "~>0.8.0", "msgpack-d": "~>1.0.0-beta.3", "stdx-allocator": "~>2.77.0" diff --git a/tests/tc_super_scope/expected1.txt b/tests/tc_super_scope/expected1.txt new file mode 100644 index 0000000..e69de29 diff --git a/tests/tc_super_scope/expected2.txt b/tests/tc_super_scope/expected2.txt new file mode 100644 index 0000000..e69de29 diff --git a/tests/tc_super_scope/expected3.txt b/tests/tc_super_scope/expected3.txt new file mode 100644 index 0000000..c7b777d --- /dev/null +++ b/tests/tc_super_scope/expected3.txt @@ -0,0 +1,11 @@ +identifiers +__monitor v +__vptr v +alignof k +classinfo v +init k +mangleof k +sizeof k +stringof k +testB f +tupleof k diff --git a/tests/tc_super_scope/file.d b/tests/tc_super_scope/file.d new file mode 100644 index 0000000..e464e83 --- /dev/null +++ b/tests/tc_super_scope/file.d @@ -0,0 +1 @@ +class A {void testA(){super.}} class B {void testB(){super.}} class C : B {void testC(){super.}} diff --git a/tests/tc_super_scope/run.sh b/tests/tc_super_scope/run.sh new file mode 100755 index 0000000..6b0e469 --- /dev/null +++ b/tests/tc_super_scope/run.sh @@ -0,0 +1,11 @@ +set -e +set -u + +../../bin/dcd-client $1 file.d -c28 > actual1.txt +diff actual1.txt expected1.txt + +../../bin/dcd-client $1 file.d -c59 > actual2.txt +diff actual2.txt expected2.txt + +../../bin/dcd-client $1 file.d -c94 > actual3.txt +diff actual3.txt expected3.txt