cannot match null
This commit is contained in:
parent
0c5dedb44e
commit
200a9375ce
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue