do not cancel pattern matching if matched enum is empty (closes #2233)
do not cancel pattern matching if matched enum is empty (closes #2233)

pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe