big: Squashed shl1 bug when a larger dest was reused for a smaller result.

This commit is contained in:
Jeroen van Rijn
2021-08-11 20:59:53 +02:00
parent f8442e0524
commit 4be48973ad
7 changed files with 113 additions and 102 deletions
+2 -2
View File
@@ -24,9 +24,9 @@ PyRes :: struct {
err: Error,
}
@export test_initialize_constants :: proc "c" () -> (res: int) {
@export test_initialize_constants :: proc "c" () -> (res: u64) {
context = runtime.default_context();
return initialize_constants();
return u64(initialize_constants());
}
@export test_error_string :: proc "c" (err: Error) -> (res: cstring) {