-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: repro and fix for unimplemented region ops (#4270)
Looks like some region operations were NYI. This PR fixes the implementation of load/store for `Int8`, `Int16` and `Float`, adding a test of all operations.
- Loading branch information
Showing
12 changed files
with
498 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ingress Completed: Reply: 0x4449444c016c01b3c4b1f204680100010a00000000000000000101 | ||
debug.print: Nat8 | ||
debug.print: Nat16 | ||
debug.print: Nat32 | ||
debug.print: Nat64 | ||
debug.print: Int8 | ||
debug.print: Int16 | ||
debug.print: Int32 | ||
debug.print: Int64 | ||
debug.print: Float | ||
debug.print: Blob | ||
ingress Err: IC0503: Canister rwlgt-iiaaa-aaaaa-aaaaa-cai trapped explicitly: Done (rolling back changes with trap) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
region-test.mo:5.5-5.6: warning [M0145], this pattern of type | ||
Nat64 | ||
does not cover value | ||
1 or 2 or _ | ||
region-test.mo:6.5-6.7: warning [M0145], this pattern of type | ||
Nat | ||
does not cover value | ||
0 or 1 or _ | ||
region-test.mo:7.5-7.6: warning [M0145], this pattern of type | ||
Nat64 | ||
does not cover value | ||
1 or 2 or _ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ingress Completed: Reply: 0x4449444c016c01b3c4b1f204680100010a00000000000000000101 | ||
debug.print: 255 | ||
debug.print: ok | ||
ingress Err: IC0503: Canister rwlgt-iiaaa-aaaaa-aaaaa-cai trapped explicitly: assertion failed at stable-mem-big-blob.mo:18.3-18.15 | ||
ingress Err: IC0503: Canister rwlgt-iiaaa-aaaaa-aaaaa-cai trapped explicitly: assertion failed at stable-mem-big-blob.mo:17.3-17.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
stable-mem-big-blob.mo:6.7-6.8: warning [M0145], this pattern of type | ||
stable-mem-big-blob.mo:5.7-5.8: warning [M0145], this pattern of type | ||
Nat64 | ||
does not cover value | ||
1 or 2 or _ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ingress Completed: Reply: 0x4449444c016c01b3c4b1f204680100010a00000000000000000101 | ||
debug.print: Nat8 | ||
debug.print: Nat16 | ||
debug.print: Nat32 | ||
debug.print: Nat64 | ||
debug.print: Int8 | ||
debug.print: Int16 | ||
debug.print: Int32 | ||
debug.print: Int64 | ||
debug.print: Float | ||
debug.print: Blob | ||
ingress Err: IC0503: Canister rwlgt-iiaaa-aaaaa-aaaaa-cai trapped explicitly: Done (rolling back changes with trap) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
stable-memory-test.mo:4.5-4.6: warning [M0145], this pattern of type | ||
Nat64 | ||
does not cover value | ||
1 or 2 or _ | ||
stable-memory-test.mo:5.5-5.6: warning [M0145], this pattern of type | ||
Nat64 | ||
does not cover value | ||
1 or 2 or _ |
Oops, something went wrong.