fix #453 - failure in incomplete switch

This commit is contained in:
Basile Burg 2018-04-01 23:13:47 +02:00
parent ee0acba5fc
commit 11ca3b44b9
5 changed files with 20 additions and 3 deletions

View File

@ -7,8 +7,8 @@
],
"license": "GPL-3.0",
"dependencies": {
"dsymbol": "~>0.3.0-beta.3",
"libdparse": "~>0.8.0-alpha.5",
"dsymbol": "~>0.3.0",
"libdparse": "~>0.8.0",
"msgpack-d": "~>1.0.0-beta.3",
"stdx-allocator": "~>2.77.0"
},

@ -1 +1 @@
Subproject commit ee0fa01ab74b6bf27bed3c7bdb9d6fb789963342
Subproject commit 970efe34e66fc7b3cb93a6ec59984099908070c5

View File

@ -0,0 +1,11 @@
identifiers
__monitor v
__vptr v
alignof k
classinfo v
e v
init k
mangleof k
sizeof k
stringof k
tupleof k

View File

@ -0,0 +1 @@
class Foo{int e;} class Bar{void bar(Foo foo){switch(foo. }}

View File

@ -0,0 +1,5 @@
set -e
set -u
../../bin/dcd-client $1 file.d -c58 > actual1.txt
diff actual1.txt expected1.txt