Merge pull request #459 from BBasile/issue-453

fix #453 - failure in incomplete switch
This commit is contained in:
Sebastian Wilzbach 2018-04-02 01:49:39 +02:00 committed by GitHub
commit ac02b4e3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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