From 520acd39795766354fc44c6e15f5f33f255ca33a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 16 Jan 2019 21:33:02 -0800 Subject: Overhauling OO-API a little to make it more minimalistic. --- lib/compatibility/2.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/compatibility/2.nom') diff --git a/lib/compatibility/2.nom b/lib/compatibility/2.nom index ca3cb6a..0b17082 100644 --- a/lib/compatibility/2.nom +++ b/lib/compatibility/2.nom @@ -29,7 +29,7 @@ upgrade $tree to "2" as: ] for $n in $need_blocks: - if ($tree.stub is $n): + if ($tree.stub == $n): $bits = [: for $ in $tree: add (($ upgraded) if ($ is syntax tree) else $)] unless (($bits, last) is "Block" syntax tree): $body = ($bits, last) -- cgit v1.2.3