aboutsummaryrefslogtreecommitdiff
path: root/lib/compatibility/4.11.nom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compatibility/4.11.nom')
-rw-r--r--lib/compatibility/4.11.nom3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compatibility/4.11.nom b/lib/compatibility/4.11.nom
index e263c1e..9a50e77 100644
--- a/lib/compatibility/4.11.nom
+++ b/lib/compatibility/4.11.nom
@@ -14,6 +14,7 @@ upgrade action "call 1 with" to "4.11" via
for ($i = $arg) in $tree.4:
$tree2.($i + 1) = $arg
return (SyntaxTree $tree2)
+
upgrade action ->$yield_value to "4.11" as (yield $yield_value)
### Replace set {$x:1, $y:2} with [$x, $y] = [1, 2]
@@ -95,4 +96,4 @@ upgrade action [
upgrade action [
unless none of $items $body else $else
unless none of $items then $body else $else
-] to "4.11" as (if (any of $items) $body else $else)
+] to "4.11" as (if (any of $items) $body else $else) \ No newline at end of file