Remove unused record destructuring tests

These tests were for record destructuring, which has been removed.
The code for record destructuring was also removed from the type checker
and types modules.
This commit is contained in:
Michael Schimmel
2026-02-26 10:58:46 +01:00
parent 81c805f07e
commit 2ad2eb5d43
5 changed files with 1 additions and 54 deletions
-12
View File
@@ -1,12 +0,0 @@
;; Record to Tuple Mapping Test
;; Output: 30
;; Benchmark: 727ns
;; Benchmark-Repeat: 2764
(do
(def rec {:x 10 :y 20})
;; Map record to tuple pattern
(def add-tuple (fn [[a b]] (+ a b)))
(add-tuple rec)
)
-11
View File
@@ -1,11 +0,0 @@
;; Benchmark: Record Destructuring Performance
;; This test calls a function that destructures a record
;; Current implementation is now zero-allocation for destructuring.
;; Output: 3
;; Benchmark: 129ns
;; Benchmark-Repeat: 15432
(do
(def process (fn [[x y]]
(+ x y)))