update dsymbol to fix #592, and to also to fix #593

This commit is contained in:
Basile Burg 2019-03-28 13:17:36 +01:00
parent 53db8bf9ee
commit 33a673836e
11 changed files with 21 additions and 2 deletions

@ -1 +1 @@
Subproject commit ff8f1feb456a24cb88b7a01fff709691e9b0d58d
Subproject commit 5b7f06ff005c63a2bf22db0736097ef35b9d36e7

View File

@ -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",

View File

@ -1,4 +1,5 @@
identifiers
Base l
__monitor v
__vptr v
alignof k

View File

@ -1,4 +1,5 @@
identifiers
Base l
__monitor v
__vptr v
alignof k

View File

@ -0,0 +1,2 @@
identifiers
foo f

View File

@ -0,0 +1 @@
interface Base {void foo();} class Derived : Base {int i; void foo(){}} void main(){Derived d; d.Base.f}

View File

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

View File

@ -1,4 +1,5 @@
identifiers
Bar l
__monitor v
__vptr v
alignof k

View File

@ -0,0 +1,2 @@
identifiers
avariable v

View File

@ -0,0 +1 @@
struct Foo { struct { int avariable; } } void main(){ Foo foo; foo.ava }

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

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