diff --git a/dsymbol b/dsymbol index b3b4616..a8ffcc9 160000 --- a/dsymbol +++ b/dsymbol @@ -1 +1 @@ -Subproject commit b3b4616601ff4dad529b5acf927aaf85c21559a2 +Subproject commit a8ffcc99d79b2b1195b7aac169a183706c2c9ec0 diff --git a/dub.json b/dub.json index 5206715..4e59499 100644 --- a/dub.json +++ b/dub.json @@ -7,8 +7,8 @@ ], "license": "GPL-3.0", "dependencies": { - "dsymbol": "~>0.5.2", - "libdparse": "~>0.10.6", + "dsymbol": "~>0.5.3", + "libdparse": "~>0.10.7", "msgpack-d": "~>1.0.0-beta.3", "stdx-allocator": "~>2.77.4" }, diff --git a/libdparse b/libdparse index 6a1c48f..15c8d2e 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit 6a1c48f8bdc6e8bb890039aa67c03a4910b55d65 +Subproject commit 15c8d2ef166b633825e971eb914d4d78eb33b3ac diff --git a/tests/imports/scope_mess.d b/tests/imports/scope_mess.d new file mode 100644 index 0000000..56a885e --- /dev/null +++ b/tests/imports/scope_mess.d @@ -0,0 +1,7 @@ +module scope_mess; + +class FooTest +{ + void member1() { int b; } + void member2() in {} do {} +} diff --git a/tests/tc_scope_mess/expected1.txt b/tests/tc_scope_mess/expected1.txt new file mode 100644 index 0000000..1cb5cf9 --- /dev/null +++ b/tests/tc_scope_mess/expected1.txt @@ -0,0 +1,12 @@ +identifiers +__monitor v +__vptr v +alignof k +classinfo v +init k +mangleof k +member1 f +member2 f +sizeof k +stringof k +tupleof k diff --git a/tests/tc_scope_mess/file1.d b/tests/tc_scope_mess/file1.d new file mode 100644 index 0000000..7fda0b0 --- /dev/null +++ b/tests/tc_scope_mess/file1.d @@ -0,0 +1 @@ +import scope_mess; FooTest ft; ft. diff --git a/tests/tc_scope_mess/run.sh b/tests/tc_scope_mess/run.sh new file mode 100755 index 0000000..5fec753 --- /dev/null +++ b/tests/tc_scope_mess/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +../../bin/dcd-client $1 file1.d -c35 > actual1.txt +diff actual1.txt expected1.txt