Skip to content

Commit

Permalink
Switching back to FullName_M will crash it!
Browse files Browse the repository at this point in the history
  • Loading branch information
deusaquilus committed Jul 17, 2024
1 parent e53a338 commit bdfefc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object FirstLast {
fun blahblah(first: Pattern0<String>, last: Pattern0<String>) =
customPattern2(first, last) { it: Name ->
on(it).matchOne(
case(FullName_MM(Is("foo"), Is("bar"))).then { first, last -> Components2(first, last) }
case(FullName_M(Is("foo"), Is("bar"))).then { first, last -> Components2(first, last) }
// case(FullName.getget(Is(), Is())).then { first, last -> Components2(first, last) }//,
// case(SimpleName[Is(), Is()]).then { first, last -> Components2(first, last) }
)
Expand Down

0 comments on commit bdfefc1

Please sign in to comment.