-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function in a tuple breaks trace on Neko. #3
Comments
What's the diff below exactly? On Wed, Jun 15, 2011 at 6:24 AM, 0b1kn00b <
Stphane Le Dorze Tel: +33 (0) 6 08 76 70 15 |
It's a patch git diff --help On Wed, Jun 15, 2011 at 8:52 AM, sledorze <
|
Well, I mean, it fixes the crashing bug. Strange but true. On Wed, Jun 15, 2011 at 1:49 PM, laurence taylor polysemantic@gmail.comwrote:
|
I think it's a compiler issue. On Wed, Jun 15, 2011 at 1:51 PM, 0b1kn00b <
Stphane Le Dorze Tel: +33 (0) 6 08 76 70 15 |
I can fix it in Stax but since it seems to be a haxe/neko issue you should report it on the issue list. |
CC'ing Franco who will be able to provide more insight. Regards, John A. De Goes On Jun 14, 2011, at 10:24 PM, 0b1kn00b wrote:
|
var a = Tuple2.create("A", function(x) { return x; } );
trace(a);
neko, win 7 64bit, haxe r3821 nightly.
//really weird bug, but replicated 100%
Invalid call
FilePos(null,Main::main,35) FilePos(null,haxe.data.collections.Map::$statics,1)
FilePos(null,_Prelude.AbstractProduct::toString,349) FilePos(null,_Prelude.AbstractProduct::$init,332) FilePos(null,neko.Lib::print,48) FilePos(null,Main::main,30)
diff --git a/src/main/haxe/Prelude.hx b/src/main/haxe/Prelude.hx
index 6aebb1f..45ff844 100644
--- a/src/main/haxe/Prelude.hx
+++ b/src/main/haxe/Prelude.hx
@@ -419,10 +419,10 @@ private class AbstractProduct implements Product {
}
private function getShow(i : Int) {
_shows[i] = Stax.getShowFor(productElement(i));
}
The text was updated successfully, but these errors were encountered: