primitive cast VerifyError

5 views
Skip to first unread message

Chris Cannam

unread,
Oct 4, 2013, 4:10:48 PM10/4/13
to yeti...@googlegroups.com
Yeti 0.9.8+ REPL.

> 2 as ~double
java.lang.VerifyError: (class: code, method: apply signature:
(Ljava/lang/Object;)Ljava/lang/Object;) Expecting to find object/array
on stack
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:266)
at yeti.lang.compiler.eval.execClass(eval.yeti:72)
at yeti.lang.compiler.eval$evaluateYetiCode$._0(eval.yeti:484)
at
yeti.lang.compiler.eval$evaluateYetiCode$.apply(eval.yeti:460)
at yeti.lang.Fun2_.apply(Unknown Source)
at yeti.lang.compiler.yeti.repl(yeti.yeti:59)
at yeti.lang.compiler.yeti.main(yeti.yeti:217)

>

Madis

unread,
Oct 4, 2013, 6:06:09 PM10/4/13
to yeti...@googlegroups.com
Yes, casts to primitive type shouldn't be allowed. Should be fixed now.

Chris Cannam

unread,
Oct 5, 2013, 5:55:34 AM10/5/13
to yeti...@googlegroups.com

On Fri, Oct 4, 2013, at 11:06 PM, Madis wrote:
> Yes, casts to primitive type shouldn't be allowed. Should be fixed now.

Works for me, thanks.


Chris
Reply all
Reply to author
Forward
0 new messages