fix #460 - `super` dot completion is wrong

This commit is contained in:
Basile Burg 2018-04-23 14:38:23 +02:00
parent ac02b4e3d6
commit 6921eb235b
7 changed files with 25 additions and 2 deletions

@ -1 +1 @@
Subproject commit 239b137b280c06864b73fcc1d00b75e06568d4c2
Subproject commit 9d3711ae6db776343bf39d73551f3f86ea97591f

View File

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

View File

View File

View File

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

View File

@ -0,0 +1 @@
class A {void testA(){super.}} class B {void testB(){super.}} class C : B {void testC(){super.}}

11
tests/tc_super_scope/run.sh Executable file
View File

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