Stream: t-compiler/wg-rls-2.0

Topic: bug parsing `match`


Alexander Regueiro (Aug 24 2019 at 17:58, on Zulip):

I get an error with code like match { stmts; expr } { arms... }

Alexander Regueiro (Aug 24 2019 at 17:58, on Zulip):

this is valid code of course

Alexander Regueiro (Aug 24 2019 at 17:58, on Zulip):

match can be followed by any expr, including a block-expr

matklad (Aug 24 2019 at 18:00, on Zulip):

Could you file an issue with a specific example? ;)

Alexander Regueiro (Aug 24 2019 at 18:20, on Zulip):

it works for you?

Alexander Regueiro (Aug 24 2019 at 18:20, on Zulip):

weird

matklad (Aug 24 2019 at 18:47, on Zulip):

I don't know, I haven't checked yet, but creating an issue is a good first step for this being fixed in either case :)

Alexander Regueiro (Aug 24 2019 at 19:58, on Zulip):

hah okay.

Alexander Regueiro (Aug 24 2019 at 19:58, on Zulip):

I'm lazy, hence my inclination to do bug reports here, but if it really helps you, I'll do that (soonish) ;-)

Last update: Nov 19 2019 at 18:30UTC