[chuck-users] Cast of function argument
Ge Wang
gewang at CS.Princeton.EDU
Fri Sep 16 01:26:43 EDT 2005
(Sorry for the barrage of spam from me. Thanks.)
Aha (again)! Thanks for pointing this out. The fix is now in CVS and
will be in 1.2.0.1.
Best,
Ge!
> Implicit cast doesn't work if the function is 'sporked'.
>
> fun void foo(float x){<<<x>>>;}
> spork ~ foo(1);
> 1::second => now;
>
> prints 0 instead of 1.
>
> -mb
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
More information about the chuck-users
mailing list