fix #600 - Wrong scope for parameter solving in nested funcs
This commit is contained in:
parent
afb211324a
commit
abd29bcb0c
2
dsymbol
2
dsymbol
|
@ -1 +1 @@
|
|||
Subproject commit 5825b717be321f8e69058848322752f5b9d8e698
|
||||
Subproject commit cf6a0e2e4d23750b1023ba64604580226b41ed83
|
4
dub.json
4
dub.json
|
@ -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
|
|
@ -0,0 +1,8 @@
|
|||
identifiers
|
||||
alignof k
|
||||
b v
|
||||
init k
|
||||
mangleof k
|
||||
sizeof k
|
||||
stringof k
|
||||
tupleof k
|
|
@ -0,0 +1,8 @@
|
|||
identifiers
|
||||
a v
|
||||
alignof k
|
||||
init k
|
||||
mangleof k
|
||||
sizeof k
|
||||
stringof k
|
||||
tupleof k
|
|
@ -0,0 +1,13 @@
|
|||
module runnable;
|
||||
|
||||
struct A { int a; }
|
||||
struct B { int b; }
|
||||
|
||||
void foo(A node)
|
||||
{
|
||||
void bar(B node)
|
||||
{
|
||||
node.
|
||||
}
|
||||
node.
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue