aboutsummaryrefslogtreecommitdiff
path: root/compatibility/3.nom
blob: a83621b376db14e29dee4d65015e2949acb1e712 (plain)
1
2
3
4
5
6
7
8
9
10
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)")