It seems that this probably fixes errors when mixing do-expressions and pattern-matching