From 84b09821f2f2e4b055038af3609170fbdf71cbd9 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Tue, 9 Sep 2025 13:59:12 -0500 Subject: [PATCH] Revert "disable an annoying old type check syntax" This reverts commit 0e02c6c910d22f1de32f2644cfb8fe4105c5b3e1. --- src/kiss/SpecialForms.hx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kiss/SpecialForms.hx b/src/kiss/SpecialForms.hx index 4e731b2..b82a4c2 100644 --- a/src/kiss/SpecialForms.hx +++ b/src/kiss/SpecialForms.hx @@ -472,12 +472,11 @@ class SpecialForms { }; // Type check syntax: - k.doc("the", 2, 3, '(the )'); + k.doc("the", 2, 3, '(the )'); map["the"] = (wholeExp:ReaderExp, args:Array, k:KissState) -> { var pkg = ""; var whichArg = "first"; if (args.length == 3) { - throw KissError.fromExp(wholeExp, "(the ) form is no longer allowed. use (the ) instead"); pkg = switch (args.shift().def) { case Symbol(pkg): pkg; default: throw KissError.fromExp(wholeExp, '$whichArg argument to (the... ) should be a valid haxe package');