Merge pull request #601 from Basile-z/issue-600

fix #600 - Wrong scope for parameter solving in nested funcs
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2019-05-12 02:27:25 +02:00 committed by GitHub
commit 3bfab2967f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 40 additions and 4 deletions

@ -1 +1 @@
Subproject commit 5825b717be321f8e69058848322752f5b9d8e698
Subproject commit cf6a0e2e4d23750b1023ba64604580226b41ed83

View File

@ -7,8 +7,8 @@
],
"license": "GPL-3.0",
"dependencies": {
"dsymbol": "~>0.7.0",
"libdparse": "~>0.11.4",
"dsymbol": "~>0.8.0",
"libdparse": "~>0.12.0",
"msgpack-d": "~>1.0.0-beta.7",
"stdx-allocator": "~>2.77.5",
"emsi_containers": "~>0.8.0-alpha.15"

@ -1 +1 @@
Subproject commit aae371931a99027465952cd6fdaede4eb4743e76
Subproject commit ec2089d95271a1d7d89d73c94187b01e90631d08

View File

@ -0,0 +1,8 @@
identifiers
alignof k
b v
init k
mangleof k
sizeof k
stringof k
tupleof k

View File

@ -0,0 +1,8 @@
identifiers
a v
alignof k
init k
mangleof k
sizeof k
stringof k
tupleof k

View File

@ -0,0 +1,13 @@
module runnable;
struct A { int a; }
struct B { int b; }
void foo(A node)
{
void bar(B node)
{
node.
}
node.
}

View File

@ -0,0 +1,7 @@
set -e
set -u
../../bin/dcd-client $1 file.d -c 118 > actual1.txt
diff actual1.txt expected1.txt
../../bin/dcd-client $1 file.d -c 134 > actual2.txt
diff actual2.txt expected2.txt