new Mac OS X mlvm build: 2011_04_04

Rémi Forax forax at univ-mlv.fr
Tue Apr 5 14:39:54 PDT 2011


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



More information about the mlvm-dev mailing list