aboutsummaryrefslogtreecommitdiff
path: root/compatibility
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-12-31 01:02:46 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-12-31 01:02:46 -0800
commitd8f9b15fd9da8c9ae29ee0b63c4302e5efbde387 (patch)
tree418278e778d5bdfcd884e31be612c04c05c2a3dd /compatibility
parent0f83a81fa6d2c131aea747da035a53019f3d7d2a (diff)
Cleaning up some of the documentation and dead code.
Diffstat (limited to 'compatibility')
-rw-r--r--compatibility/3.nom2
-rw-r--r--compatibility/4.11.nom4
2 files changed, 3 insertions, 3 deletions
diff --git a/compatibility/3.nom b/compatibility/3.nom
index 3b58cee..0a745f6 100644
--- a/compatibility/3.nom
+++ b/compatibility/3.nom
@@ -12,4 +12,4 @@ upgrade action (@) to "3" as $me
upgrade action "as" to "3" via
for $tree:
compile error at $tree "Object API has changed and 'as' is no longer supported."
- "Use (%obj::action ...) instead of (as %obj: action ...)"
+ "Use ($obj, action ...) instead of (as $obj: action ...)"
diff --git a/compatibility/4.11.nom b/compatibility/4.11.nom
index 313b8e4..a5c9c12 100644
--- a/compatibility/4.11.nom
+++ b/compatibility/4.11.nom
@@ -16,7 +16,7 @@ upgrade action "call 1 with" to "4.11" via
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]
+# Replace set {$x:1, $y:2} with [$x, $y] = [1, 2]
upgrade action "set" to "4.11" via
for ($tree $end_version):
[$lhs, $rhs] = [\[], \[]]
@@ -33,7 +33,7 @@ upgrade action "set" to "4.11" via
upgrade action "1 with 2 ~>" to "4.11" via
for $tree:
compile error at $tree "This method has been deprecated."
- "Perhaps this could be use %tree::map instead."
+ "Perhaps this could be use ($tree, map ...) instead."
# Changing filesystem API:
upgrade action (for file $f in $path $body) to "4.11" as