chromatic wrote:
Just for clarification, it attached patch is actually what this ticket
about?
Yes, that's correct.
Ok, so I go ahead and try to fix more pmcs. There is single line patch
for float.
--
Bacek
diff --git a/src/pmc/float.pmc b/src/pmc/float.pmc
index d315627..fa03356 100644
--- a/src/pmc/float.pmc
+++ b/src/pmc/float.pmc
@@ -466,7 +466,7 @@ Return a new PMC of the type of C<SELF> with I<FUNC>(value) of SELF.
METHOD atan2(PMC *val) {
PMC * const d = pmc_new(INTERP, VTABLE_type(INTERP, SELF));
- PMC_num_val(d) = atan2(SELF.get_number(), PMC_num_val(val));
+ PMC_num_val(d) = atan2(SELF.get_number(), VTABLE_get_number(INTERP, val));
RETURN(PMC *d);
}