summaryrefslogtreecommitdiff
path: root/libregex/test
diff options
context:
space:
mode:
authorMura Li <mural@ctli.io>2021-07-05 13:39:04 +0000
committerMura Li <mural@ctli.io>2021-07-05 13:39:04 +0000
commitf5175435a735fa8cdcd28995d5f3e32faf792945 (patch)
tree08828eaf708a3450fde0775b43144d5999667576 /libregex/test
parente3682d0bb7437dc3cbb6a6fcf8d82806d98c73da (diff)
downloadmc-f5175435a735fa8cdcd28995d5f3e32faf792945.tar.gz
mi/match: fix dtree construction order of or-pattern
When we have a match statement such as match x | `std.Some _ || _: ;; the order of the patterns `std.seom _ and _ matters. before the fix, we would get false positive of "pattern matched by earlier case". Signed-off-by: Mura Li <mural@ctli.io>
Diffstat (limited to 'libregex/test')
0 files changed, 0 insertions, 0 deletions