-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
Add test cases for issues #10544 & #10545 #10546
Conversation
I have fixed the eval case, and pushed a fix to hxcpp for the negative hexes: HaxeFoundation/hxcpp@cb38fcc Somehow I ignored the fact that this has to be fixed in the libraries directly. We'll not fix this for neko then because I don't think we plan to have another neko release anyway. I've changed the failing tests to not run on neko accordingly. Something also fails on HL, will have to look into that as well. |
The Lua failure is something else we have to check. And for some reason, HL does not fail on Windows. No idea what's the deal with that. |
HL doesn't fail on my Linux too. |
@Aurel300 Do you happen to have an idea why |
It failed locally too so I tracked down the issue. On Windows, Hashlink uses The fix should be this: diff --git a/src/std/ucs2.c b/src/std/ucs2.c
@@ -109,7 +109,7 @@ int utoi( const uchar *str, uchar **end ) {
while( is_space_char(*str) ) str++;
while( i < 16 ) {
int c = *str++;
- if( (c < '0' || c > '9') && c != '-' )
+ if( (c < '0' || c > '9') && c != '-' && c != '+' )
break;
buf[i++] = (char)c;
} |
Thanks for checking, that did the trick! |
Added unit test cases as per @Simn's comment on #10545