Merge pull request #461 from BBasile/issue-460

fix #460 - `super` dot completion is wrong
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2018-04-23 14:47:06 +02:00 committed by GitHub
commit a214c6a549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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