Simplifies 'if' to work on the available scope rather than a stream (#2805)

This commit is contained in:
Jonathan Turner
2020-12-21 16:02:39 +13:00
committed by GitHub
parent e5b136f70d
commit e3da546e23
3 changed files with 25 additions and 52 deletions

View File

@@ -27,7 +27,7 @@ fn plugins_are_declared_with_wix() {
| wrap wix
}
| default wix _
| if $it.wix != $it.cargo { = 1 } { = 0 }
| each { if $it.wix != $it.cargo { = 1 } { = 0 } }
| math sum
"#
));