On 04/05/2011 09:41 PM, Ola Bini wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2011-04-05 09.07, Rémi Forax wrote: >> Basically in constant() bindTo(x) should be replaced by >> insertArguments(0, x) >> Because bindTo requires that the first argument is an object. >> Here it's a boolean. > So basically you're saying that this line: > return identity(type).bindTo(w.convert(value, type)); > has to become > return insertArguments(identity(type), 0, w.convert(value, > type)); > > Correct?
yes ! The other answer is to not bridle bindTo() to only use object. Rémi _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev