-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't hash bytecode output for tests.
- Loading branch information
1 parent
36c86fa
commit 3086efa
Showing
687 changed files
with
20,336 additions
and
716 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 |
---|---|---|
@@ -1,3 +1,12 @@ | ||
namespace = "Compile" | ||
expectation = "Pass" | ||
outputs = [[{ compile = [{ bytecode = "e434c09cee27a5dfb5a4e9e9fd26aa2ba6e7f0653fad3a4f2a7d85983ba559c9", dce_ast = "23001f440ab4c99e89ac05facdfe45b10206fcc86a80bb11f8108c9b3785151b", destructured_ast = "6b932fa3264ea209145cb10679089bb14e6f5e667c8cff3b9adef16424e70646", errors = "", flattened_ast = "2b95ef75e175131a082bc796f2b57942c2fb395373c91ef5fbbf1ed70d80a2c3", initial_ast = "3e0dce3c7ac38e237c811a557ddf5422d92024cd3a2f9a050f5089fb49e1c0d2", initial_symbol_table = "756e2b87734bb537caa46fae8a2b650aab26e96062df959e32e4828535c6affd", inlined_ast = "6b932fa3264ea209145cb10679089bb14e6f5e667c8cff3b9adef16424e70646", ssa_ast = "e4e399f95f533afdcd018463d8a27bc573fcc02dfd11b0e32990e690b98584da", type_checked_symbol_table = "d53bb8960397c6ee70314bcd5a30dbb59d655bda52b4937c16a94af0417fe793", unrolled_ast = "3e0dce3c7ac38e237c811a557ddf5422d92024cd3a2f9a050f5089fb49e1c0d2", unrolled_symbol_table = "d53bb8960397c6ee70314bcd5a30dbb59d655bda52b4937c16a94af0417fe793", warnings = "" }] }]] | ||
outputs = [[{ compile = [{ bytecode = """ | ||
program test.aleo; | ||
|
||
|
||
|
||
function main: | ||
input r0 as address.private; | ||
is.neq r0 aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx into r1; | ||
output r1 as boolean.private; | ||
""", dce_ast = "23001f440ab4c99e89ac05facdfe45b10206fcc86a80bb11f8108c9b3785151b", destructured_ast = "6b932fa3264ea209145cb10679089bb14e6f5e667c8cff3b9adef16424e70646", errors = "", flattened_ast = "2b95ef75e175131a082bc796f2b57942c2fb395373c91ef5fbbf1ed70d80a2c3", initial_ast = "3e0dce3c7ac38e237c811a557ddf5422d92024cd3a2f9a050f5089fb49e1c0d2", initial_symbol_table = "756e2b87734bb537caa46fae8a2b650aab26e96062df959e32e4828535c6affd", inlined_ast = "6b932fa3264ea209145cb10679089bb14e6f5e667c8cff3b9adef16424e70646", ssa_ast = "e4e399f95f533afdcd018463d8a27bc573fcc02dfd11b0e32990e690b98584da", type_checked_symbol_table = "d53bb8960397c6ee70314bcd5a30dbb59d655bda52b4937c16a94af0417fe793", unrolled_ast = "3e0dce3c7ac38e237c811a557ddf5422d92024cd3a2f9a050f5089fb49e1c0d2", unrolled_symbol_table = "d53bb8960397c6ee70314bcd5a30dbb59d655bda52b4937c16a94af0417fe793", warnings = "" }] }]] |
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,3 +1,14 @@ | ||
namespace = "Compile" | ||
expectation = "Pass" | ||
outputs = [[{ compile = [{ bytecode = "da1b0a83a17b801368b0a583b158d88d9d807a33000c8e89e82da123c8041aea", dce_ast = "3c317e1a5194206c1a6a41ffb463da578330bf0040ecae4e9cdccbc1c16c9d22", destructured_ast = "67b5a3b7d55cf41ff4af1069e3a6a2d4b2e5b4adeccfc145e24db5018111499b", errors = "", flattened_ast = "a47513dc4d7f5aadd738b38b152d16e73e4d41b4d3329b9b2ccab72dfc7c8528", initial_ast = "55ccd130c0fb8317c3ccd6eeafdd9630fdab2447c4368c0f6870ce0f81a60e82", initial_symbol_table = "aa5665d4b9e05e78e9181f1bb7e07f98f0009c1f82b29b781173679d0392f75c", inlined_ast = "67b5a3b7d55cf41ff4af1069e3a6a2d4b2e5b4adeccfc145e24db5018111499b", ssa_ast = "ec3c124600b30e1bbe9c2745037f4a841ad4d12e9b4ce41f446faa1d7b34be6c", type_checked_symbol_table = "c9a355adf84dd491014c8150453db6edb824f841877c1e912bc659ca15416723", unrolled_ast = "55ccd130c0fb8317c3ccd6eeafdd9630fdab2447c4368c0f6870ce0f81a60e82", unrolled_symbol_table = "c9a355adf84dd491014c8150453db6edb824f841877c1e912bc659ca15416723", warnings = "" }] }]] | ||
outputs = [[{ compile = [{ bytecode = """ | ||
program test.aleo; | ||
|
||
|
||
|
||
function main: | ||
input r0 as address.private; | ||
input r1 as boolean.private; | ||
ternary r1 aleo16s003g206rjms5pm4ak48340f7y4z4dsskuqfrd2gvqz6umh2qfq7lajfp aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx into r2; | ||
is.eq r2 aleo1drcl2g8zxhxjzjw63ajp067gzvl94am3z7m7wgrzmr2ecd5sdq8sy66l5k into r3; | ||
output r3 as boolean.private; | ||
""", dce_ast = "3c317e1a5194206c1a6a41ffb463da578330bf0040ecae4e9cdccbc1c16c9d22", destructured_ast = "67b5a3b7d55cf41ff4af1069e3a6a2d4b2e5b4adeccfc145e24db5018111499b", errors = "", flattened_ast = "a47513dc4d7f5aadd738b38b152d16e73e4d41b4d3329b9b2ccab72dfc7c8528", initial_ast = "55ccd130c0fb8317c3ccd6eeafdd9630fdab2447c4368c0f6870ce0f81a60e82", initial_symbol_table = "aa5665d4b9e05e78e9181f1bb7e07f98f0009c1f82b29b781173679d0392f75c", inlined_ast = "67b5a3b7d55cf41ff4af1069e3a6a2d4b2e5b4adeccfc145e24db5018111499b", ssa_ast = "ec3c124600b30e1bbe9c2745037f4a841ad4d12e9b4ce41f446faa1d7b34be6c", type_checked_symbol_table = "c9a355adf84dd491014c8150453db6edb824f841877c1e912bc659ca15416723", unrolled_ast = "55ccd130c0fb8317c3ccd6eeafdd9630fdab2447c4368c0f6870ce0f81a60e82", unrolled_symbol_table = "c9a355adf84dd491014c8150453db6edb824f841877c1e912bc659ca15416723", warnings = "" }] }]] |
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,3 +1,12 @@ | ||
namespace = "Compile" | ||
expectation = "Pass" | ||
outputs = [[{ compile = [{ bytecode = "bde2653fac0393940c5400272e53492228206e50abb36ce080b95043003ee976", dce_ast = "6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4", destructured_ast = "6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4", errors = "", flattened_ast = "01c4814b6404c3801fedfd3e54056cb765af01f26209407347826bc3651f9adc", initial_ast = "a1b18ca13abd5d553005007013851ea090ce27a325f360f36a087fd7125b1c9b", initial_symbol_table = "af1b9dd4e2e7f82e1a536bfc53948de3c814fc9ccf61e5115c2109e09cfb2b67", inlined_ast = "6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4", ssa_ast = "048c531ce2a9cbecfa2e1ea0479ff3e245adcac3641843092083354074a3eeab", type_checked_symbol_table = "a87370905b296fa38a2921ce60df21da4670958bcf91d6c236acf70d02343087", unrolled_ast = "a1b18ca13abd5d553005007013851ea090ce27a325f360f36a087fd7125b1c9b", unrolled_symbol_table = "a87370905b296fa38a2921ce60df21da4670958bcf91d6c236acf70d02343087", warnings = "" }] }]] | ||
outputs = [[{ compile = [{ bytecode = """ | ||
program test.aleo; | ||
|
||
|
||
|
||
function main: | ||
input r0 as address.private; | ||
is.eq r0 aleo10qerras5799u6k7rjtc9y3hcwxuykr45qra7x7dp6jgnc0923czqm0lgta into r1; | ||
output r1 as boolean.private; | ||
""", dce_ast = "6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4", destructured_ast = "6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4", errors = "", flattened_ast = "01c4814b6404c3801fedfd3e54056cb765af01f26209407347826bc3651f9adc", initial_ast = "a1b18ca13abd5d553005007013851ea090ce27a325f360f36a087fd7125b1c9b", initial_symbol_table = "af1b9dd4e2e7f82e1a536bfc53948de3c814fc9ccf61e5115c2109e09cfb2b67", inlined_ast = "6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4", ssa_ast = "048c531ce2a9cbecfa2e1ea0479ff3e245adcac3641843092083354074a3eeab", type_checked_symbol_table = "a87370905b296fa38a2921ce60df21da4670958bcf91d6c236acf70d02343087", unrolled_ast = "a1b18ca13abd5d553005007013851ea090ce27a325f360f36a087fd7125b1c9b", unrolled_symbol_table = "a87370905b296fa38a2921ce60df21da4670958bcf91d6c236acf70d02343087", warnings = "" }] }]] |
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,3 +1,18 @@ | ||
namespace = "Compile" | ||
expectation = "Pass" | ||
outputs = [[{ compile = [{ bytecode = "d9e6c28f9e5527abe9cdb07b9d35375901446415f5d645b0363597200ee45be7", dce_ast = "d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4", destructured_ast = "d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4", errors = "", flattened_ast = "d743a19b1faa6b66b90bd8496249cc5b94e9ba8260ad7ce95da721b68e59c3a9", initial_ast = "da0a545e9de3b8cdec100132e7d9886d08b7e69217d129229e8a86489199ec21", initial_symbol_table = "9093a20a62879f03d6a7a4dc24b051778d2c543d1df6a59af8c423d047ec2e13", inlined_ast = "d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4", ssa_ast = "f76c8e4b70096ec05a1583648b295127d0a60d8b9973a1d5c7dff53782282c1d", type_checked_symbol_table = "639ed2aefe557daf6c3433d645bec25030a82e3296f26ac46961f451d2bb28ae", unrolled_ast = "da0a545e9de3b8cdec100132e7d9886d08b7e69217d129229e8a86489199ec21", unrolled_symbol_table = "639ed2aefe557daf6c3433d645bec25030a82e3296f26ac46961f451d2bb28ae", warnings = "" }] }]] | ||
outputs = [[{ compile = [{ bytecode = """ | ||
program test.aleo; | ||
|
||
|
||
|
||
mapping Yo: | ||
\tkey as address.public; | ||
\tvalue as u32.public; | ||
|
||
function main: | ||
input r0 as address.private; | ||
assert.eq r0 self.caller; | ||
assert.eq r0 test.aleo; | ||
assert.eq r0 hello.aleo; | ||
output foo.aleo as address.private; | ||
""", dce_ast = "d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4", destructured_ast = "d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4", errors = "", flattened_ast = "d743a19b1faa6b66b90bd8496249cc5b94e9ba8260ad7ce95da721b68e59c3a9", initial_ast = "da0a545e9de3b8cdec100132e7d9886d08b7e69217d129229e8a86489199ec21", initial_symbol_table = "9093a20a62879f03d6a7a4dc24b051778d2c543d1df6a59af8c423d047ec2e13", inlined_ast = "d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4", ssa_ast = "f76c8e4b70096ec05a1583648b295127d0a60d8b9973a1d5c7dff53782282c1d", type_checked_symbol_table = "639ed2aefe557daf6c3433d645bec25030a82e3296f26ac46961f451d2bb28ae", unrolled_ast = "da0a545e9de3b8cdec100132e7d9886d08b7e69217d129229e8a86489199ec21", unrolled_symbol_table = "639ed2aefe557daf6c3433d645bec25030a82e3296f26ac46961f451d2bb28ae", warnings = "" }] }]] |
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,3 +1,15 @@ | ||
namespace = "Compile" | ||
expectation = "Pass" | ||
outputs = [[{ compile = [{ bytecode = "c0b90b7f7e80041dc1a314c1a87290534936018fb001c6e1291266a02393c6f2", dce_ast = "afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91", destructured_ast = "afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91", errors = "", flattened_ast = "f90ae68ee0bcbd72c41672353efc856b34f166a20a6de512fb70f8217ec5051e", initial_ast = "fb145169ad1e437da9a503342918f5793085d4f5355837ac261984c33042831c", initial_symbol_table = "af1b9dd4e2e7f82e1a536bfc53948de3c814fc9ccf61e5115c2109e09cfb2b67", inlined_ast = "afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91", ssa_ast = "315ce58a6c118e5955412d56ab3d52990475bf2452b8d8e21aba7c7628f59e84", type_checked_symbol_table = "a7e0e6793233e6dec4b48137418a894ee322ac0635bccf5376979766adf2bbfa", unrolled_ast = "fb145169ad1e437da9a503342918f5793085d4f5355837ac261984c33042831c", unrolled_symbol_table = "a7e0e6793233e6dec4b48137418a894ee322ac0635bccf5376979766adf2bbfa", warnings = "" }] }]] | ||
outputs = [[{ compile = [{ bytecode = """ | ||
program test.aleo; | ||
|
||
|
||
|
||
function main: | ||
input r0 as address.private; | ||
is.eq r0 aleo1l7ytv5jqjzpxtjqttl5z9mle8ujcpac9t6tkge5f4haah4pxas8sagzecd into r1; | ||
is.eq aleo1dtpkpg3d653mdlzh6g028937qdgujecn5gw5tzh7ftcvyz7jxvfqw6t8p6 r0 into r2; | ||
is.eq aleo1l7ytv5jqjzpxtjqttl5z9mle8ujcpac9t6tkge5f4haah4pxas8sagzecd r0 into r3; | ||
ternary r1 r2 r3 into r4; | ||
output r4 as boolean.private; | ||
""", dce_ast = "afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91", destructured_ast = "afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91", errors = "", flattened_ast = "f90ae68ee0bcbd72c41672353efc856b34f166a20a6de512fb70f8217ec5051e", initial_ast = "fb145169ad1e437da9a503342918f5793085d4f5355837ac261984c33042831c", initial_symbol_table = "af1b9dd4e2e7f82e1a536bfc53948de3c814fc9ccf61e5115c2109e09cfb2b67", inlined_ast = "afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91", ssa_ast = "315ce58a6c118e5955412d56ab3d52990475bf2452b8d8e21aba7c7628f59e84", type_checked_symbol_table = "a7e0e6793233e6dec4b48137418a894ee322ac0635bccf5376979766adf2bbfa", unrolled_ast = "fb145169ad1e437da9a503342918f5793085d4f5355837ac261984c33042831c", unrolled_symbol_table = "a7e0e6793233e6dec4b48137418a894ee322ac0635bccf5376979766adf2bbfa", warnings = "" }] }]] |
13 changes: 12 additions & 1 deletion
13
tests/expectations/compiler/array/access_array_with_loop_counter.out
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,3 +1,14 @@ | ||
namespace = "Compile" | ||
expectation = "Pass" | ||
outputs = [[{ compile = [{ bytecode = "5f0cb09518f39fc62d32faa38cb42fa04dca2587eaaaa1e0ac30fa9885ce4248", dce_ast = "a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef", destructured_ast = "a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef", errors = "", flattened_ast = "8b353b3efece3f3c00a6742a9706db425d1c93cb2f69be28071917304212d43f", initial_ast = "e638024190743e42d22971bf4a5d2ae071661a5c05a9774f97763362531c3f99", initial_symbol_table = "86cc47c4ae9edafe0811fe203d260ee357a3f7853a2ffbf0a9afc8e911369f51", inlined_ast = "a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef", ssa_ast = "a43e3ef81113c1d9c70cfbfef5052b4fa26eb2feb8094ce60dd68aff58d6c2b7", type_checked_symbol_table = "d27200bee59ed91be0d42e9c04b8b89a8afb8a8518db3372f0ff65d097967144", unrolled_ast = "9e599c1b6e6ab0b8f32f83b2cb2e327848eb02bca60c782ae40a0bd051bc9662", unrolled_symbol_table = "168951779efa956128e2892c5c3d538b3f34cabec54dd8efb70c4105a22f8edb", warnings = "" }] }]] | ||
outputs = [[{ compile = [{ bytecode = """ | ||
program test.aleo; | ||
|
||
|
||
|
||
function foo: | ||
input r0 as [boolean; 4u32].private; | ||
assert.eq r0[0u32] true; | ||
assert.eq r0[1u32] true; | ||
assert.eq r0[2u32] true; | ||
assert.eq r0[3u32] true; | ||
""", dce_ast = "a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef", destructured_ast = "a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef", errors = "", flattened_ast = "8b353b3efece3f3c00a6742a9706db425d1c93cb2f69be28071917304212d43f", initial_ast = "e638024190743e42d22971bf4a5d2ae071661a5c05a9774f97763362531c3f99", initial_symbol_table = "86cc47c4ae9edafe0811fe203d260ee357a3f7853a2ffbf0a9afc8e911369f51", inlined_ast = "a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef", ssa_ast = "a43e3ef81113c1d9c70cfbfef5052b4fa26eb2feb8094ce60dd68aff58d6c2b7", type_checked_symbol_table = "d27200bee59ed91be0d42e9c04b8b89a8afb8a8518db3372f0ff65d097967144", unrolled_ast = "9e599c1b6e6ab0b8f32f83b2cb2e327848eb02bca60c782ae40a0bd051bc9662", unrolled_symbol_table = "168951779efa956128e2892c5c3d538b3f34cabec54dd8efb70c4105a22f8edb", warnings = "" }] }]] |
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,3 +1,11 @@ | ||
namespace = "Compile" | ||
expectation = "Pass" | ||
outputs = [[{ compile = [{ bytecode = "d5ca429014c67ec53c9ce4c200f06611379969892725237b5164737ea8100c12", dce_ast = "c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134", destructured_ast = "c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134", errors = "", flattened_ast = "f83a1302e81bb2ad8737ee001d3e577106774175b87186f4237500db6a1e4e4d", initial_ast = "994bad0eab3a9fd89b319668c2e45551fc8ca2d0722e751ef8ece6eddd7d11bf", initial_symbol_table = "bbff18546983d05503a84e82edfc8ba43a819761a4966180f364b658bee7c71c", inlined_ast = "c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134", ssa_ast = "cf69c0c5a757a9387c0100f3cac9ed3292a1b4189a872f7d70cefec4b687f2ec", type_checked_symbol_table = "68601235ddc6c200098d7374a78da4acbb29d3d5d1a6d67bdb7b5baa7ddfce4c", unrolled_ast = "994bad0eab3a9fd89b319668c2e45551fc8ca2d0722e751ef8ece6eddd7d11bf", unrolled_symbol_table = "68601235ddc6c200098d7374a78da4acbb29d3d5d1a6d67bdb7b5baa7ddfce4c", warnings = "" }] }]] | ||
outputs = [[{ compile = [{ bytecode = """ | ||
program test.aleo; | ||
|
||
|
||
|
||
function foo: | ||
input r0 as [boolean; 8u32].private; | ||
output r0[0u32] as boolean.private; | ||
""", dce_ast = "c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134", destructured_ast = "c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134", errors = "", flattened_ast = "f83a1302e81bb2ad8737ee001d3e577106774175b87186f4237500db6a1e4e4d", initial_ast = "994bad0eab3a9fd89b319668c2e45551fc8ca2d0722e751ef8ece6eddd7d11bf", initial_symbol_table = "bbff18546983d05503a84e82edfc8ba43a819761a4966180f364b658bee7c71c", inlined_ast = "c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134", ssa_ast = "cf69c0c5a757a9387c0100f3cac9ed3292a1b4189a872f7d70cefec4b687f2ec", type_checked_symbol_table = "68601235ddc6c200098d7374a78da4acbb29d3d5d1a6d67bdb7b5baa7ddfce4c", unrolled_ast = "994bad0eab3a9fd89b319668c2e45551fc8ca2d0722e751ef8ece6eddd7d11bf", unrolled_symbol_table = "68601235ddc6c200098d7374a78da4acbb29d3d5d1a6d67bdb7b5baa7ddfce4c", warnings = "" }] }]] |
22 changes: 21 additions & 1 deletion
22
tests/expectations/compiler/array/array_in_composite_data_types.out
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,3 +1,23 @@ | ||
namespace = "Compile" | ||
expectation = "Pass" | ||
outputs = [[{ compile = [{ bytecode = "96a3dd2c8b423fc1830c547bb318ef7379dd2b3d3ba030142fe344b51c0ecfc2", dce_ast = "1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08", destructured_ast = "1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08", errors = "", flattened_ast = "62ed1887b901a2595b4a0501739273c9a1be99f7087d69dc0c3ea3e3ad7608a3", initial_ast = "85c3840f1f944a2935fb3c72572498e35718479567668c2021b58c351770e687", initial_symbol_table = "4f8ab92e1b0589f9f72c264bded41a74ab81a95c0863bbb2128c2e455f8940ce", inlined_ast = "1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08", ssa_ast = "d0361696dcc37db64ddb4dd16c46da32544b40473ab527a7ead74006e606aa27", type_checked_symbol_table = "80855e8466f2d8c141ade84f032cd8e08d31253bd9ed6d5961e22ed21fa60758", unrolled_ast = "85c3840f1f944a2935fb3c72572498e35718479567668c2021b58c351770e687", unrolled_symbol_table = "80855e8466f2d8c141ade84f032cd8e08d31253bd9ed6d5961e22ed21fa60758", warnings = "" }] }]] | ||
outputs = [[{ compile = [{ bytecode = """ | ||
program test.aleo; | ||
|
||
struct bar: | ||
data as [u8; 8u32]; | ||
|
||
record floo: | ||
owner as address.private; | ||
data as [u8; 8u32].private; | ||
|
||
|
||
function foo: | ||
input r0 as [[boolean; 8u32]; 8u32].private; | ||
cast 1u8 1u8 1u8 1u8 1u8 1u8 1u8 1u8 into r1 as [u8; 8u32]; | ||
cast r1 into r2 as bar; | ||
cast 1u8 1u8 1u8 1u8 1u8 1u8 1u8 1u8 into r3 as [u8; 8u32]; | ||
cast self.caller r3 into r4 as floo.record; | ||
output r0[0u32][0u32] as boolean.private; | ||
output r2 as bar.private; | ||
output r4 as floo.record; | ||
""", dce_ast = "1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08", destructured_ast = "1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08", errors = "", flattened_ast = "62ed1887b901a2595b4a0501739273c9a1be99f7087d69dc0c3ea3e3ad7608a3", initial_ast = "85c3840f1f944a2935fb3c72572498e35718479567668c2021b58c351770e687", initial_symbol_table = "4f8ab92e1b0589f9f72c264bded41a74ab81a95c0863bbb2128c2e455f8940ce", inlined_ast = "1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08", ssa_ast = "d0361696dcc37db64ddb4dd16c46da32544b40473ab527a7ead74006e606aa27", type_checked_symbol_table = "80855e8466f2d8c141ade84f032cd8e08d31253bd9ed6d5961e22ed21fa60758", unrolled_ast = "85c3840f1f944a2935fb3c72572498e35718479567668c2021b58c351770e687", unrolled_symbol_table = "80855e8466f2d8c141ade84f032cd8e08d31253bd9ed6d5961e22ed21fa60758", warnings = "" }] }]] |
Oops, something went wrong.