aboutsummaryrefslogtreecommitdiff
path: root/compatibility/compatibility.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-08-28 15:34:45 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-08-28 15:34:45 -0700
commit5ee9bcb7fb692b7dcbdcd71b38f4166f1ae56d3c (patch)
tree4ced4ea6ec8898097b62088d8d3d7f8c45e00717 /compatibility/compatibility.nom
parent2ec4f3117e4582ddb436ae4decb3d55ed2f06460 (diff)
Upgraded version to 3.5.5.6, corresponding to Object Oriented changes.
Diffstat (limited to 'compatibility/compatibility.nom')
-rw-r--r--compatibility/compatibility.nom6
1 files changed, 2 insertions, 4 deletions
diff --git a/compatibility/compatibility.nom b/compatibility/compatibility.nom
index 982cec6..86a5ac7 100644
--- a/compatibility/compatibility.nom
+++ b/compatibility/compatibility.nom
@@ -1,4 +1,4 @@
-#!/usr/bin/env nomsu -V2.5.5.5
+#!/usr/bin/env nomsu -V3.5.5.6
#
This file contains code for defining ways to upgrade code between different versions
of Nomsu.
@@ -9,10 +9,8 @@ use "lib/os.nom"
action [upgrade to %version via %upgrade_fn]:
%UPGRADES.%version = %upgrade_fn
-%ACTION_UPGRADES = {}
+%ACTION_UPGRADES = ({} with fallback % -> [])
action [upgrade action %stub to %version via %upgrade_fn]:
- unless %ACTION_UPGRADES.%version:
- %ACTION_UPGRADES.%version = []
%ACTION_UPGRADES.%version.%stub = %upgrade_fn
parse [upgrade %tree to %version as %body] as (..)