[plt-scheme] define-values/invoke-unit/infer failing

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Aug 18 21:20:02 EDT 2009

Is your program using vector->values? If not, it would be nice to have
a small program that illustrates that behavior, since it looks like a
bug in the unit system (some check is missing that would turn that
into a more meaningful error).

Robby

On Tue, Aug 18, 2009 at 4:26 PM, Synx<plt at synx.us.to> wrote:
>
> (define-compound-unit/infer [email protected]
>  (import)
>  (export run^)
>  (link [email protected]
>        [email protected]
>        [email protected]
>        [email protected]
>        [email protected]
>        [email protected]
>        [email protected]))
>
> (define-values/invoke-unit/infer [email protected])
>
> ERROR:
> vector->values: index 6 out of range [0, 3] for vector: #(#<procedure>
> #<procedure> #<procedure> #<procedure>)
>
> Any reason I might be running into that error? ._. I can't for some
> reason define-values/invoke-unit/infer my unit. It just gives me that
> weird error.
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.