iu-parfunc / accelerack

C Bindings for Accelerate, Racket Frontend to Accelerate
2 stars 2 forks source link

Bad errors: acc-array getting too far #42

Open rrnewton opened 8 years ago

rrnewton commented 8 years ago

And why is it calling verify-acc at all?

Reproducer:

#lang racket
(require accelerack)
(acc-array ( #(1 #f)
             ; #(2 3 ) ;; This gives a bad error too.
             4
))

This expands to a (make-acc-array ..) call, but it should never get that far. It should fail during macro expansion.