From 2b43217716341352eac445ed0f7aacef0b8ac43d Mon Sep 17 00:00:00 2001 From: Kai Gunger Date: Mon, 13 Apr 2026 04:07:44 -0400 Subject: [tnslc] More var utils --- tnslc/compile/scope.tnsl | 1 + 1 file changed, 1 insertion(+) (limited to 'tnslc/compile/scope.tnsl') diff --git a/tnslc/compile/scope.tnsl b/tnslc/compile/scope.tnsl index e94fc8d..6faf596 100644 --- a/tnslc/compile/scope.tnsl +++ b/tnslc/compile/scope.tnsl @@ -338,6 +338,7 @@ struct Scope { /; if (v`.is_ref() == true) int rc = v`.max_ref() + rc = rc - 1 v`.set_ref(self.cb, src, rc) ;; else v`.set(self.cb, src) -- cgit v1.2.3