diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-28 15:08:20 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-28 15:08:20 -0700 |
| commit | 2ec4f3117e4582ddb436ae4decb3d55ed2f06460 (patch) | |
| tree | a34e161827aa35349e3ef1acd235ac62151c9d89 | |
| parent | e44acbf338e17fb86a47eebf448c27a04d446048 (diff) | |
Added compatibility file.
| -rw-r--r-- | compatibility/3.nom | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/compatibility/3.nom b/compatibility/3.nom new file mode 100644 index 0000000..a83621b --- /dev/null +++ b/compatibility/3.nom @@ -0,0 +1,11 @@ +#!/usr/bin/env nomsu -V3 +# + This file defines upgrades from Nomsu <=2 to Nomsu 3 + +use "compatibility/compatibility.nom" + +upgrade action (method %spec %body) to "3" as (my action %spec %body) +upgrade action (me) to "3" as (%me) +upgrade action (@) to "3" as (%me) +upgrade action (as % %) to "3" via (..) + [] -> (barf "Object API has changed. Use (%obj::action 1 2) instead of (as %obj: action 1 2)") |
