Caleb Cartwright b305d62e5b fix: correct arm leading pipe check (#4880)
In the event a pattern starts with a leading pipe
the pattern span will contain, and begin with, the pipe.

This updates the process to see if a match arm contains
a leading pipe by leveraging this recent(ish) change to
the patterns in the AST, and avoids an indexing bug that
occurs when a pattern starts with a non-ascii char in the
old implementation.
2021-07-25 22:53:32 -05:00
..
2019-07-17 09:40:33 +09:00
2019-03-17 12:21:21 +09:00
2019-03-20 18:18:02 +01:00
2019-06-07 16:56:30 +09:00
2018-10-15 12:09:53 +13:00
2019-06-07 16:56:30 +09:00
2020-11-28 17:41:21 -06:00
2019-06-03 22:26:48 +09:00
2021-01-28 22:01:50 -06:00
2019-03-02 17:33:43 +09:00
2019-02-08 00:05:54 +09:00
2018-12-24 06:18:00 +09:00
2019-06-07 16:56:30 +09:00
2019-03-24 18:43:35 +09:00
2019-04-23 08:50:44 +09:00
2020-06-11 23:29:51 -05:00
2021-01-27 20:58:42 -06:00
2020-11-30 23:24:36 -06:00
2019-08-06 11:09:45 +09:00
2020-12-20 12:05:05 -06:00