Fixed is/== mixup

This commit is contained in:
Bruce Hill 2019-01-30 23:05:44 -08:00
parent b714a55ec0
commit e8e00adeaa

View File

@ -8,7 +8,7 @@ use "compatibility/compatibility"
upgrade $tree to "2" as:
unless ($tree is "Action" syntax tree): return
if ($tree.stub is "if 1 2 else"):
if ($tree.stub == "if 1 2 else"):
$true_body = ($tree.3 upgraded)
unless ($true_body is "Block" syntax tree):
$true_body = \(: $true_body)