cannot match null

This commit is contained in:
Daniella / Tove 2024-11-15 22:28:25 +01:00
parent 0c5dedb44e
commit 200a9375ce
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -648,7 +648,7 @@ func times { | with amount callable ;
} }
func check-match { bool | with input output ; func check-match { bool | with input output ;
output gettype "func" eq if { output gettype "func" eq input null eq not and if {
1 2 stop 1 2 stop
} }
input output eq if { input output eq if {
@ -686,7 +686,7 @@ func match-unchecked { | with input output ;
} }
func match { bool | with input output ; func match { bool | with input output ;
output gettype "func" eq if { output gettype "func" eq input null eq not and if {
input output call input output call
1 2 stop 1 2 stop
} }