diff --git a/tests/expectations/compiler/compiler/address/branch.leo.out b/tests/expectations/compiler/compiler/address/branch.leo.out index ef090731fb..39b1bdba4b 100644 --- a/tests/expectations/compiler/compiler/address/branch.leo.out +++ b/tests/expectations/compiler/compiler/address/branch.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1024 + num_constraints: 1536 + at: 5afd1d58b6826912fe5cba06b60d9a7debdbad9e922b8a78ed49f7a7ca0ac65e + bt: db77c3470cf1b3c80c2e3b1b3ddc59d9891912489bfcf39b7f67c2f314ca7f6d + ct: d0993682df5b495f4a6784882e0f007dbc378adb35007d250e2c098975f4d32e + output: + - input_file: inputs/branch.in + output: + registers: + a: + type: bool + value: "true" + initial_ast: 32dcc6719d7d1214782cd1ffe02f067eec8adbf1f3820546e539887d4f1334c8 + imports_resolved_ast: 32dcc6719d7d1214782cd1ffe02f067eec8adbf1f3820546e539887d4f1334c8 + canonicalized_ast: 32dcc6719d7d1214782cd1ffe02f067eec8adbf1f3820546e539887d4f1334c8 + type_inferenced_ast: 996f46f1dba11bdde037a8e033ca97870871eb89d4e3e402b59f99fcc0c35323 diff --git a/tests/expectations/compiler/compiler/address/equal.leo.out b/tests/expectations/compiler/compiler/address/equal.leo.out index ef090731fb..72f8327413 100644 --- a/tests/expectations/compiler/compiler/address/equal.leo.out +++ b/tests/expectations/compiler/compiler/address/equal.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 511 + num_constraints: 511 + at: 61e8ee994e9e7edc1f84fa3cbe8c421ade231189b9ddf6a9a75eeef9915c20f7 + bt: 2194515882da93c79fa24d47c40fddc44f0284da25da7b89efb935c0ea7382f8 + ct: a0736e8c8f3bb1c39a147348754e53dfd31fd76a1df9cd9960472841bcc531df + output: + - input_file: inputs/address1.in + output: + registers: + a: + type: bool + value: "true" + - input_file: inputs/address2.in + output: + registers: + a: + type: bool + value: "false" + initial_ast: d9d5346dff8f825d58daabb3a4fe2fcd1471a3fb3c80e46e5583c4f6cdb12b2b + imports_resolved_ast: d9d5346dff8f825d58daabb3a4fe2fcd1471a3fb3c80e46e5583c4f6cdb12b2b + canonicalized_ast: d9d5346dff8f825d58daabb3a4fe2fcd1471a3fb3c80e46e5583c4f6cdb12b2b + type_inferenced_ast: 32a303da117b08aebfb74f7454cd80dfe28b07fd464a61b6d6a3ce23d451f135 diff --git a/tests/expectations/compiler/compiler/address/index.leo.out b/tests/expectations/compiler/compiler/address/index.leo.out index ef090731fb..67a9431af8 100644 --- a/tests/expectations/compiler/compiler/address/index.leo.out +++ b/tests/expectations/compiler/compiler/address/index.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1694 + num_constraints: 2719 + at: f9a9bc8304df327c7b16f088b61ac518fb3a7b6457ccc35a1ab9eab4565a1981 + bt: 045eba0fdd405714f788492fd5914b053e0ece622e9a542270d8cfe85c0ee291 + ct: e8fa4a33a657c70a7cecc7e9b284157b369b7ea57879948e108daf93e778551c + output: + - input_file: inputs/index.in + output: + registers: + a: + type: bool + value: "true" + initial_ast: 9961e21337ff8eed0a27fff91fc442c2530a1bfaf80da6d497a93a371896b1f8 + imports_resolved_ast: 9961e21337ff8eed0a27fff91fc442c2530a1bfaf80da6d497a93a371896b1f8 + canonicalized_ast: 9961e21337ff8eed0a27fff91fc442c2530a1bfaf80da6d497a93a371896b1f8 + type_inferenced_ast: cc47000b2cf462f5cb891467cc99f2d21c44ced2198e988dc3de59f166aa1603 diff --git a/tests/expectations/compiler/compiler/address/ternary.leo.out b/tests/expectations/compiler/compiler/address/ternary.leo.out index ef090731fb..55dabfd5e7 100644 --- a/tests/expectations/compiler/compiler/address/ternary.leo.out +++ b/tests/expectations/compiler/compiler/address/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1022 + num_constraints: 1022 + at: 1b42ef63a212d2ea51cab07171c8fb1438112afdbd14501470c2477b9eeb4c99 + bt: 15054154626f1ae748008fc4ed9a650c3873b608988ff31312fe4049957dfffb + ct: dbda9de51fe9897456cbbcc3b450ed7d66185fb6018c7a0c72414784f29b2ad4 + output: + - input_file: inputs/address1.in + output: + registers: + a: + type: bool + value: "false" + - input_file: inputs/address2.in + output: + registers: + a: + type: bool + value: "false" + initial_ast: 6f8e7a94ccb702790204360959a2673abf6b53027fccaaa9feed8a4e41ee05c1 + imports_resolved_ast: 6f8e7a94ccb702790204360959a2673abf6b53027fccaaa9feed8a4e41ee05c1 + canonicalized_ast: 6f8e7a94ccb702790204360959a2673abf6b53027fccaaa9feed8a4e41ee05c1 + type_inferenced_ast: 91e597663c88fbfd0c6ff787d109f5a71d5357c44d5306f7149714cda86475ae diff --git a/tests/expectations/compiler/compiler/aliases/arith.leo.out b/tests/expectations/compiler/compiler/aliases/arith.leo.out index ef090731fb..afd5ac5a6e 100644 --- a/tests/expectations/compiler/compiler/aliases/arith.leo.out +++ b/tests/expectations/compiler/compiler/aliases/arith.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 130 + num_constraints: 131 + at: 543fa6d0af950bf301b03e1d060f09a396c2dc452933a3f54a9ef177bfda6180 + bt: a46e57da3c684733a4f1736d56fe7952266ba68b2a23eebcb4ef933f4ebb41ff + ct: fd808ddd42dbcc9eb18899f0eb8a2bc1ee8e03f983ecec6daa77e2c2d9910d1e + output: + - input_file: inputs/basic.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: a4a3b4b30742544a6dae3d76794504173c1cc64f217bd3feda033ce51512a670 + imports_resolved_ast: a4a3b4b30742544a6dae3d76794504173c1cc64f217bd3feda033ce51512a670 + canonicalized_ast: a4a3b4b30742544a6dae3d76794504173c1cc64f217bd3feda033ce51512a670 + type_inferenced_ast: 508686ddeb2f8fad60d9ad58639b5a761e6c5f5b61e105803eb8a98d8065a2ad diff --git a/tests/expectations/compiler/compiler/aliases/basic.leo.out b/tests/expectations/compiler/compiler/aliases/basic.leo.out index ef090731fb..246cf547ed 100644 --- a/tests/expectations/compiler/compiler/aliases/basic.leo.out +++ b/tests/expectations/compiler/compiler/aliases/basic.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 163 + num_constraints: 165 + at: 2e4efaa1289da67c2193ecea16201f9597166a181e5d852d41661ad4b9f67844 + bt: bf213d7a070672f468bd4696a2165494ea56abce861fa4448817d94420ce6f78 + ct: e674d668d6c90bd7c273e33096d7eea5a052a6e14b2b43bad69c3e1c969faf72 + output: + - input_file: inputs/basic.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d83b33119db295fa2ed7795c8e17d4073cabba5e90e9438cd53f3a9a77585f19 + imports_resolved_ast: d83b33119db295fa2ed7795c8e17d4073cabba5e90e9438cd53f3a9a77585f19 + canonicalized_ast: d83b33119db295fa2ed7795c8e17d4073cabba5e90e9438cd53f3a9a77585f19 + type_inferenced_ast: 77be8ec74bc15f2a45e8bf29e7973bc0c721008fe5508dcc6d02b91aae3d84ee diff --git a/tests/expectations/compiler/compiler/aliases/duplicate_name_fail.leo.out b/tests/expectations/compiler/compiler/aliases/duplicate_name_fail.leo.out index 3f519cf1b5..4e2c598ab8 100644 --- a/tests/expectations/compiler/compiler/aliases/duplicate_name_fail.leo.out +++ b/tests/expectations/compiler/compiler/aliases/duplicate_name_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373044]: a alias named \"int\" already exists in this scope\n --> compiler-test:4:6\n |\n 4 | type int = u8;\n | ^^^" diff --git a/tests/expectations/compiler/compiler/aliases/fn_return.leo.out b/tests/expectations/compiler/compiler/aliases/fn_return.leo.out index ef090731fb..80aeb65553 100644 --- a/tests/expectations/compiler/compiler/aliases/fn_return.leo.out +++ b/tests/expectations/compiler/compiler/aliases/fn_return.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: inputs/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 7feac3e33e75789d3b532a7cc857f324cd7abed380d578791803b3162edcfdec + imports_resolved_ast: 7feac3e33e75789d3b532a7cc857f324cd7abed380d578791803b3162edcfdec + canonicalized_ast: 7feac3e33e75789d3b532a7cc857f324cd7abed380d578791803b3162edcfdec + type_inferenced_ast: bc54ad21e90ab297b40ff570dfc379cbca61fdc9e20bd6899f4b964f726954b0 diff --git a/tests/expectations/compiler/compiler/aliases/shadowing_arg.leo.out b/tests/expectations/compiler/compiler/aliases/shadowing_arg.leo.out index ef090731fb..e9b87ef19d 100644 --- a/tests/expectations/compiler/compiler/aliases/shadowing_arg.leo.out +++ b/tests/expectations/compiler/compiler/aliases/shadowing_arg.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 33 + num_constraints: 33 + at: a06eb411f53130890e49a9f69bddb47294f83d0589b68c415747223b23dee7ed + bt: d3062f2cf90527cdc167b4e2c3ac10f1a8d51edcefa4991ac3d62fee0d3553cc + ct: ba3a1dbda7521fc175cc7ea8b04f1d61a74268d3a43a5e30c3ee86ae6ff797d0 + output: + - input_file: inputs/basic.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 671704ed30a8c68ebffe2a58ff4799f626badf975d2d0dded3b06f5264e5c0db + imports_resolved_ast: 671704ed30a8c68ebffe2a58ff4799f626badf975d2d0dded3b06f5264e5c0db + canonicalized_ast: 671704ed30a8c68ebffe2a58ff4799f626badf975d2d0dded3b06f5264e5c0db + type_inferenced_ast: eb525f7c227207a1037b96838d2f0cf597968c14117b3fae30564f3cd5a3a27b diff --git a/tests/expectations/compiler/compiler/aliases/shadowing_var_allowed.leo.out b/tests/expectations/compiler/compiler/aliases/shadowing_var_allowed.leo.out index ef090731fb..c1d479dd9b 100644 --- a/tests/expectations/compiler/compiler/aliases/shadowing_var_allowed.leo.out +++ b/tests/expectations/compiler/compiler/aliases/shadowing_var_allowed.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: inputs/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: cd2e85ff29ee11d30e73dbba0a612223a8a26dff125069ad7ac05697fd4c9829 + imports_resolved_ast: cd2e85ff29ee11d30e73dbba0a612223a8a26dff125069ad7ac05697fd4c9829 + canonicalized_ast: cd2e85ff29ee11d30e73dbba0a612223a8a26dff125069ad7ac05697fd4c9829 + type_inferenced_ast: 1e73226b2cbbd5c7a36ffe70b778e0e544976d2e09a1f0ba3f2b486d1b604d58 diff --git a/tests/expectations/compiler/compiler/aliases/wrong_type_assign_fail.leo.out b/tests/expectations/compiler/compiler/aliases/wrong_type_assign_fail.leo.out index 3f519cf1b5..9bf7a388c7 100644 --- a/tests/expectations/compiler/compiler/aliases/wrong_type_assign_fail.leo.out +++ b/tests/expectations/compiler/compiler/aliases/wrong_type_assign_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'u32', received: 'u8'\n --> compiler-test:6:18\n |\n 6 | let a: int = x;\n | ^" diff --git a/tests/expectations/compiler/compiler/array/array_range_access_fail.leo.out b/tests/expectations/compiler/compiler/array/array_range_access_fail.leo.out index 3f519cf1b5..6b288be483 100644 --- a/tests/expectations/compiler/compiler/array/array_range_access_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/array_range_access_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373019]: array index out of bounds: '0'\n --> compiler-test:7:24\n |\n 7 | const z: [u8; 2] = y[..1u32][..x];\n | ^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/array_size_zero_fail.leo.out b/tests/expectations/compiler/compiler/array/array_size_zero_fail.leo.out index 3f519cf1b5..018bc69003 100644 --- a/tests/expectations/compiler/compiler/array/array_size_zero_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/array_size_zero_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EAST0372006]: received dimension size of 0, expected it to be 1 or larger.\n --> compiler-test:4:13\n |\n 4 | let a = [true; (0)];\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/complex_access.leo.out b/tests/expectations/compiler/compiler/array/complex_access.leo.out index ef090731fb..841bf13445 100644 --- a/tests/expectations/compiler/compiler/array/complex_access.leo.out +++ b/tests/expectations/compiler/compiler/array/complex_access.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 637 + num_constraints: 662 + at: 9f1bcfcac007139af57f04172704330d348767a9c51fe8ce15fb60f457fa6337 + bt: b6500ddf37d10958fdc014dcb2f54b37a2c684f05b7f0aa4776556331db8c924 + ct: a15c712d74487a80767116103c38fa7277066705d0c7f1f9902a6016466706f0 + output: + - input_file: input/complex_access.in + output: + registers: + out: + type: bool + value: "true" + initial_ast: 843884ddf198fe566cea0f8e84a2902f720d6211c9d8bad98299eea4da846870 + imports_resolved_ast: 843884ddf198fe566cea0f8e84a2902f720d6211c9d8bad98299eea4da846870 + canonicalized_ast: c30721e60523bc31af9a9bf342d9b89bf92a26e3886394cc0c1a574560715bdf + type_inferenced_ast: c37f209961a9acff1d942af1e4a9a332123676f2bc581ca94604314f9d738a1e diff --git a/tests/expectations/compiler/compiler/array/equal_initializer.leo.out b/tests/expectations/compiler/compiler/array/equal_initializer.leo.out index ef090731fb..300b2e071b 100644 --- a/tests/expectations/compiler/compiler/array/equal_initializer.leo.out +++ b/tests/expectations/compiler/compiler/array/equal_initializer.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 95 + num_constraints: 95 + at: 5884e806c47756fa1d12f47e5cc5249843d8de4e2fafcb373c5a0d67dfe22d69 + bt: 983c734b40e342144d6b4d52e315da9ff9f97580f019f606403924bb977a5be7 + ct: 49f0db71bd29b80dbe5f2f96573a5959b1df339c92350e16f111bade214037aa + output: + - input_file: input/six_zeros.in + output: + registers: + x: + type: bool + value: "true" + - input_file: input/count_to_6.in + output: + registers: + x: + type: bool + value: "false" + initial_ast: aa24022f240400d709b97a44c143ce481109bb0a66926aa5c97cf2e2d06dea2a + imports_resolved_ast: aa24022f240400d709b97a44c143ce481109bb0a66926aa5c97cf2e2d06dea2a + canonicalized_ast: ace5006c27d2e3784fb73d52adc641f6285a041452ba0d23de5983c5eede1139 + type_inferenced_ast: 611bc2fab64e417c9cfad3c59ca333561b8167a6fc7be957d972d96125e040ba diff --git a/tests/expectations/compiler/compiler/array/equal_initializer_2.leo.out b/tests/expectations/compiler/compiler/array/equal_initializer_2.leo.out index ef090731fb..bb5e60688e 100644 --- a/tests/expectations/compiler/compiler/array/equal_initializer_2.leo.out +++ b/tests/expectations/compiler/compiler/array/equal_initializer_2.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 95 + num_constraints: 95 + at: 9273b9ab94dee8605c4f1e49fe99910f674468f5026b8d2c48ecaa4d8c006f3a + bt: a3614a9ddd1ae0fde16a61336aba5a02b44816b3e43e23c7b9663976319bcb8a + ct: 49f0db71bd29b80dbe5f2f96573a5959b1df339c92350e16f111bade214037aa + output: + - input_file: input/six_zeros.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/count_to_6.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 307b6817fa2a5005462686901129e97bf75c00bf14568fafbe1de2c8afc1804d + imports_resolved_ast: 307b6817fa2a5005462686901129e97bf75c00bf14568fafbe1de2c8afc1804d + canonicalized_ast: cbaa304ba210d8155762701d8e6a2ddca3eaffb008a813ed7a60db1fb0043f10 + type_inferenced_ast: 47e371ce112ac17fd65bfd100d24829e8c4819e1f96cc715b8c6245f01d608bb diff --git a/tests/expectations/compiler/compiler/array/input_nested_3x2.leo.out b/tests/expectations/compiler/compiler/array/input_nested_3x2.leo.out index ef090731fb..3445cbb64c 100644 --- a/tests/expectations/compiler/compiler/array/input_nested_3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/input_nested_3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 95 + num_constraints: 95 + at: 5884e806c47756fa1d12f47e5cc5249843d8de4e2fafcb373c5a0d67dfe22d69 + bt: 983c734b40e342144d6b4d52e315da9ff9f97580f019f606403924bb977a5be7 + ct: 49f0db71bd29b80dbe5f2f96573a5959b1df339c92350e16f111bade214037aa + output: + - input_file: input/input_nested_3x2.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 6d5be1a3d383ecafa89b5327d3a4b9bce9a459f6c0241cb01f408566ec4a1cc4 + imports_resolved_ast: 6d5be1a3d383ecafa89b5327d3a4b9bce9a459f6c0241cb01f408566ec4a1cc4 + canonicalized_ast: eb64230be87deb03ac7f076961a82194a15afd964aa6966a10314b38def69684 + type_inferenced_ast: e7985a24db781a3e42c9b2a67d1e8febc78fc2ad4e388a90207d00eb89734ffd diff --git a/tests/expectations/compiler/compiler/array/input_nested_3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/input_nested_3x2_fail.leo.out index 3f519cf1b5..498d522f18 100644 --- a/tests/expectations/compiler/compiler/array/input_nested_3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/input_nested_3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370005]: expected ] -- got ')'\n --> compiler-test:4:29\n |\n 4 | return a == [[0u8; 2]; 3)]; // This should be written the right way as this test is for the input file.\n | ^" diff --git a/tests/expectations/compiler/compiler/array/input_tuple_3x2.leo.out b/tests/expectations/compiler/compiler/array/input_tuple_3x2.leo.out index ef090731fb..399ef15a56 100644 --- a/tests/expectations/compiler/compiler/array/input_tuple_3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/input_tuple_3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 95 + num_constraints: 95 + at: 5884e806c47756fa1d12f47e5cc5249843d8de4e2fafcb373c5a0d67dfe22d69 + bt: 983c734b40e342144d6b4d52e315da9ff9f97580f019f606403924bb977a5be7 + ct: 49f0db71bd29b80dbe5f2f96573a5959b1df339c92350e16f111bade214037aa + output: + - input_file: input/input_tuple_3x2.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: aa24022f240400d709b97a44c143ce481109bb0a66926aa5c97cf2e2d06dea2a + imports_resolved_ast: aa24022f240400d709b97a44c143ce481109bb0a66926aa5c97cf2e2d06dea2a + canonicalized_ast: ace5006c27d2e3784fb73d52adc641f6285a041452ba0d23de5983c5eede1139 + type_inferenced_ast: 611bc2fab64e417c9cfad3c59ca333561b8167a6fc7be957d972d96125e040ba diff --git a/tests/expectations/compiler/compiler/array/input_tuple_3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/input_tuple_3x2_fail.leo.out index 3f519cf1b5..995afe29e0 100644 --- a/tests/expectations/compiler/compiler/array/input_tuple_3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/input_tuple_3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - aborting due to syntax error diff --git a/tests/expectations/compiler/compiler/array/multi_fail_initializer.leo.out b/tests/expectations/compiler/compiler/array/multi_fail_initializer.leo.out index 3f519cf1b5..b920c88311 100644 --- a/tests/expectations/compiler/compiler/array/multi_fail_initializer.leo.out +++ b/tests/expectations/compiler/compiler/array/multi_fail_initializer.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 2', received: 'array of length 1'\n --> compiler-test:4:31\n |\n 4 | const arr: [u8; (2, 2)] = [[1u8; 2]; 1]; // incorrect dimensions\n | ^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/multi_fail_inline.leo.out b/tests/expectations/compiler/compiler/array/multi_fail_inline.leo.out index 3f519cf1b5..1c81b18dcc 100644 --- a/tests/expectations/compiler/compiler/array/multi_fail_inline.leo.out +++ b/tests/expectations/compiler/compiler/array/multi_fail_inline.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 2', received: 'array of length 1'\n --> compiler-test:5:35\n |\n 5 | [1u8]]; // incorrect dimensions\n | ^^^^^" diff --git a/tests/expectations/compiler/compiler/array/multi_initializer.leo.out b/tests/expectations/compiler/compiler/array/multi_initializer.leo.out index ef090731fb..a41e6d561f 100644 --- a/tests/expectations/compiler/compiler/array/multi_initializer.leo.out +++ b/tests/expectations/compiler/compiler/array/multi_initializer.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0724c81ae70c56ff047b5d28ef949b72c4b581ce0bb443957064efa1636a3cab + imports_resolved_ast: 0724c81ae70c56ff047b5d28ef949b72c4b581ce0bb443957064efa1636a3cab + canonicalized_ast: ed0b7200a455978fed9b1df0c9e3ab9bf4815d79048f28f4205c69b420ee02df + type_inferenced_ast: 1e5c78e15d8c9328190e95ccbc2e4e105d9ce430b98704a12472e2c3cc870526 diff --git a/tests/expectations/compiler/compiler/array/multi_initializer_fail.leo.out b/tests/expectations/compiler/compiler/array/multi_initializer_fail.leo.out index 3f519cf1b5..3a9fe9224b 100644 --- a/tests/expectations/compiler/compiler/array/multi_initializer_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/multi_initializer_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 2', received: 'array of length 1'\n --> compiler-test:4:31\n |\n 4 | const arr: [u8; (2, 2)] = [1u8; (2, 1)]; // incorrect dimensions\n | ^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/nested.leo.out b/tests/expectations/compiler/compiler/array/nested.leo.out index ef090731fb..f0661b99e1 100644 --- a/tests/expectations/compiler/compiler/array/nested.leo.out +++ b/tests/expectations/compiler/compiler/array/nested.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 60d0b81c9f3631aca3c9607df74cfb8e4dbc0d387836398dea86f016fa4210fd + imports_resolved_ast: 60d0b81c9f3631aca3c9607df74cfb8e4dbc0d387836398dea86f016fa4210fd + canonicalized_ast: 6570de0e96b21780ed7793a860948b2c6ff7a92da7ce7f3dd7775ff30d70656f + type_inferenced_ast: ace51ab56a61b988bd2c3f65431e87234a96fa92554d36d4e83d7235832506f6 diff --git a/tests/expectations/compiler/compiler/array/nested_3x2_value.leo.out b/tests/expectations/compiler/compiler/array/nested_3x2_value.leo.out index ef090731fb..18f3110b60 100644 --- a/tests/expectations/compiler/compiler/array/nested_3x2_value.leo.out +++ b/tests/expectations/compiler/compiler/array/nested_3x2_value.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 754eca05d485d80c4b710db30efc66f91c0eafdc02c2707f854238863b6c6c02 + imports_resolved_ast: 754eca05d485d80c4b710db30efc66f91c0eafdc02c2707f854238863b6c6c02 + canonicalized_ast: e5554c42dc9a45ab57ea5ac28996969640fb6f8da1ad8db805f65f5d555c8cf4 + type_inferenced_ast: aa30bccd05b7386ffb8a7df7cad89ec39117c6b5fc51a9e68624064832b4f225 diff --git a/tests/expectations/compiler/compiler/array/nested_3x2_value_fail.leo.out b/tests/expectations/compiler/compiler/array/nested_3x2_value_fail.leo.out index 3f519cf1b5..e9692944ca 100644 --- a/tests/expectations/compiler/compiler/array/nested_3x2_value_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/nested_3x2_value_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 3', received: 'array of length 2'\n --> compiler-test:6:30\n |\n 6 | const a: [u32; (3, 2)] = [[0; 3]; 2]; // initializer (incorrectly reversed ordering)\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/registers.leo.out b/tests/expectations/compiler/compiler/array/registers.leo.out index ef090731fb..96a5800d2b 100644 --- a/tests/expectations/compiler/compiler/array/registers.leo.out +++ b/tests/expectations/compiler/compiler/array/registers.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 119 + num_constraints: 143 + at: 144d1bd1f6756ac172ddddf3ca5cf4358ba8fc053fd754b56a425ab6566af47a + bt: 43972815ec9d0ab821613fde2cd6a5df9ee42f50758a27a0fed6dc111b44f3ee + ct: 5ed7a755b881aa851f3d3e966a4bd18dd48ce59be71b4ada39c9c891f8297201 + output: + - input_file: input/registers_ones.in + output: + registers: + r: + type: "[u8; 3]" + value: "\"321\"" + - input_file: input/registers_zeros.in + output: + registers: + r: + type: "[u8; 3]" + value: "\"123\"" + initial_ast: 4e74124bc410534941ef9b79ffb64656d14e145b5a79fbd14419c1aef2f0ef69 + imports_resolved_ast: 4e74124bc410534941ef9b79ffb64656d14e145b5a79fbd14419c1aef2f0ef69 + canonicalized_ast: 4e74124bc410534941ef9b79ffb64656d14e145b5a79fbd14419c1aef2f0ef69 + type_inferenced_ast: f5cb6326028b3cf9187889be6ac5ed5bd095a570d45ae63c7285a09366fc6803 diff --git a/tests/expectations/compiler/compiler/array/slice.leo.out b/tests/expectations/compiler/compiler/array/slice.leo.out index ef090731fb..48d49f7866 100644 --- a/tests/expectations/compiler/compiler/array/slice.leo.out +++ b/tests/expectations/compiler/compiler/array/slice.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 47 + num_constraints: 47 + at: 9034e7c6c2ae58e279196614600093d655bcdad8237302b84a66e63ec1c2f00e + bt: f23a0442b41c8901611d5f1a9a8493a0cb03c68e183a81a1b88c5a6600fa7420 + ct: ad66abc1bf940dbc76573c0a516ebf633c1411f9997101d86ded0faff025d52c + output: + - input_file: input/three_ones.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 0e4761ba1228f0a490b51ff2c31df33f623a08d32f62833d64859ca103689f4a + imports_resolved_ast: 0e4761ba1228f0a490b51ff2c31df33f623a08d32f62833d64859ca103689f4a + canonicalized_ast: 0e4761ba1228f0a490b51ff2c31df33f623a08d32f62833d64859ca103689f4a + type_inferenced_ast: 1494bb64c16ec2dc03bfb2e37b89f93e02a70860ced1ce0b42b5ee5ead31b0d5 diff --git a/tests/expectations/compiler/compiler/array/slice_lower.leo.out b/tests/expectations/compiler/compiler/array/slice_lower.leo.out index ef090731fb..15e2bd02c2 100644 --- a/tests/expectations/compiler/compiler/array/slice_lower.leo.out +++ b/tests/expectations/compiler/compiler/array/slice_lower.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 1bf9b30e052d9ecc042a0b20bbc195a98d463ab206963469b9199de462b8be15 + imports_resolved_ast: 1bf9b30e052d9ecc042a0b20bbc195a98d463ab206963469b9199de462b8be15 + canonicalized_ast: 1bf9b30e052d9ecc042a0b20bbc195a98d463ab206963469b9199de462b8be15 + type_inferenced_ast: 6d2531af8ed5b04b23039d0b508cf388135a0fc6e1dc0de3befb4d49ce360fbc diff --git a/tests/expectations/compiler/compiler/array/spread.leo.out b/tests/expectations/compiler/compiler/array/spread.leo.out index ef090731fb..5914e93782 100644 --- a/tests/expectations/compiler/compiler/array/spread.leo.out +++ b/tests/expectations/compiler/compiler/array/spread.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 71 + num_constraints: 71 + at: a08e2e54701e419ba564483a59fb3f6cc30614b8a7c903f9ff6f4b85e63da5c6 + bt: 65113b6e5dc0f7d88f04b7e60a519801a313d2e9d4129db502ccef0dfdb14988 + ct: 7a28ca50094ed4577eef8066cf1a814affa63139e6cc3d7ccf8d65c69499de60 + output: + - input_file: input/three_ones.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 140097342b7a16fae8542da5d13eb9c2cb4e1b743fa226e345d815f62d0781bb + imports_resolved_ast: 140097342b7a16fae8542da5d13eb9c2cb4e1b743fa226e345d815f62d0781bb + canonicalized_ast: 140097342b7a16fae8542da5d13eb9c2cb4e1b743fa226e345d815f62d0781bb + type_inferenced_ast: a2442e72c5010224894e46a1c6f245356c0d86428ce617eb31faaf57806ca2df diff --git a/tests/expectations/compiler/compiler/array/ternary_in_array.leo.out b/tests/expectations/compiler/compiler/array/ternary_in_array.leo.out index ef090731fb..94a0008165 100644 --- a/tests/expectations/compiler/compiler/array/ternary_in_array.leo.out +++ b/tests/expectations/compiler/compiler/array/ternary_in_array.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 39 + num_constraints: 39 + at: 6f3ffff33f4e513211e7a55cc9edcab3bc2d2a146c2b280981308bb69165f86f + bt: adde6ad1b603a50c986ec99b6edcc972138bb6239e58a1b88e931bc0165b2e8e + ct: 867e3f6ee1f26af954e7868633a595d319267d91afc5d7e2074fe641fabde1d6 + output: + - input_file: input/three_ones.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 002cb467a5c1357617b45f955944bb4a79ab465dc13f3eb5eb8db4c158b8c745 + imports_resolved_ast: 002cb467a5c1357617b45f955944bb4a79ab465dc13f3eb5eb8db4c158b8c745 + canonicalized_ast: 002cb467a5c1357617b45f955944bb4a79ab465dc13f3eb5eb8db4c158b8c745 + type_inferenced_ast: 323fc99ac247b37bb395eb08691d451a3b6b563a15bb94b5af6a0193ccc0bd34 diff --git a/tests/expectations/compiler/compiler/array/tuple_3x2_value.leo.out b/tests/expectations/compiler/compiler/array/tuple_3x2_value.leo.out index ef090731fb..b3c16f0157 100644 --- a/tests/expectations/compiler/compiler/array/tuple_3x2_value.leo.out +++ b/tests/expectations/compiler/compiler/array/tuple_3x2_value.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 97fd9b78f7912a7627e2b2f5615ae35e39304af6122fab85f9b49fcf6a85d8f2 + imports_resolved_ast: 97fd9b78f7912a7627e2b2f5615ae35e39304af6122fab85f9b49fcf6a85d8f2 + canonicalized_ast: cf8a8faae5f2847199324cbef87583e9af1249c03891ae31f3ce0093879326d5 + type_inferenced_ast: 731117b4aa8260da475471088df325cb540d84c536ce60f3488e01a4428e84ae diff --git a/tests/expectations/compiler/compiler/array/tuple_3x2_value_fail.leo.out b/tests/expectations/compiler/compiler/array/tuple_3x2_value_fail.leo.out index 3f519cf1b5..6183b26503 100644 --- a/tests/expectations/compiler/compiler/array/tuple_3x2_value_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/tuple_3x2_value_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 3', received: 'array of length 2'\n --> compiler-test:5:30\n |\n 5 | const a: [u32; (3, 2)] = [0; (2, 3)]; // initializer (incorrectly reversed ordering)\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/type_fail.leo.out b/tests/expectations/compiler/compiler/array/type_fail.leo.out index 3f519cf1b5..06738a76cd 100644 --- a/tests/expectations/compiler/compiler/array/type_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/type_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370005]: expected ( -- got '-'\n --> compiler-test:4:19\n |\n 4 | const a: [u8; -2] = [0u32; 2];\n | ^" diff --git a/tests/expectations/compiler/compiler/array/type_input_3x2.leo.out b/tests/expectations/compiler/compiler/array/type_input_3x2.leo.out index ef090731fb..c4b141e5cf 100644 --- a/tests/expectations/compiler/compiler/array/type_input_3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_input_3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 95 + num_constraints: 95 + at: 5884e806c47756fa1d12f47e5cc5249843d8de4e2fafcb373c5a0d67dfe22d69 + bt: 983c734b40e342144d6b4d52e315da9ff9f97580f019f606403924bb977a5be7 + ct: 49f0db71bd29b80dbe5f2f96573a5959b1df339c92350e16f111bade214037aa + output: + - input_file: input/input_tuple_3x2.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 9f2080fab6a85294afa2423cd79482fb3d944c4afab7363e66a4086a120ad34d + imports_resolved_ast: 9f2080fab6a85294afa2423cd79482fb3d944c4afab7363e66a4086a120ad34d + canonicalized_ast: 9f2080fab6a85294afa2423cd79482fb3d944c4afab7363e66a4086a120ad34d + type_inferenced_ast: f8c6b9a9ac418220c87bbd1a99a5eb15817cfa289d822624f2d3cc41e10718b4 diff --git a/tests/expectations/compiler/compiler/array/type_input_4x3x2.leo.out b/tests/expectations/compiler/compiler/array/type_input_4x3x2.leo.out index ef090731fb..44117e0d63 100644 --- a/tests/expectations/compiler/compiler/array/type_input_4x3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_input_4x3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 383 + num_constraints: 383 + at: ec8cf3ea9e586d3c504b8b467b4404d213dd375aa2691f2b9a8670c879ffa24d + bt: 9b5ba17ea683af827718f9062b3102faa0be01b9f67022e2322db989bf90f057 + ct: 6fe90b4e46834afeb215a4702281504d676eae391588e5b576f6e406f6ddd504 + output: + - input_file: input/type_tuple_value_nested_4x3x2.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: f61370b311806223d351c6dd611a178362cf8ad6de976d7b0ed709b51fadbecb + imports_resolved_ast: f61370b311806223d351c6dd611a178362cf8ad6de976d7b0ed709b51fadbecb + canonicalized_ast: f61370b311806223d351c6dd611a178362cf8ad6de976d7b0ed709b51fadbecb + type_inferenced_ast: 54531d6afced0deaa59c93b9270768a5e89ea8ea1df34365eb4e440bdf725904 diff --git a/tests/expectations/compiler/compiler/array/type_nested_value_nested_3x2.leo.out b/tests/expectations/compiler/compiler/array/type_nested_value_nested_3x2.leo.out index ef090731fb..8c26312c64 100644 --- a/tests/expectations/compiler/compiler/array/type_nested_value_nested_3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_nested_value_nested_3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 143 + num_constraints: 143 + at: f09e0b896fb2cb30fe4bbcf791b4695de26287361de6def1e75e861643d12714 + bt: f97a8f270a0603d5674319afa5e572f5f146f02a36f9387f860a6cf1f8a786cc + ct: 88cc1bad895de526a15b231e1fe8065848e8008bda5e2662f7c9eec9a976ff98 + output: + - input_file: input/type_nested_value_nested_3x2.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 6bacdd1d42bfa807910c0455c68213007d5ca8f15ee1f3c743d946bfbbff79b7 + imports_resolved_ast: 6bacdd1d42bfa807910c0455c68213007d5ca8f15ee1f3c743d946bfbbff79b7 + canonicalized_ast: 6bacdd1d42bfa807910c0455c68213007d5ca8f15ee1f3c743d946bfbbff79b7 + type_inferenced_ast: 1b2a08879a8d42fafc9eecc12b89f0f36719e02205ee48bf6075475e71942132 diff --git a/tests/expectations/compiler/compiler/array/type_nested_value_nested_3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/type_nested_value_nested_3x2_fail.leo.out index 3f519cf1b5..24df29595e 100644 --- a/tests/expectations/compiler/compiler/array/type_nested_value_nested_3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/type_nested_value_nested_3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 3', received: 'array of length 2'\n --> compiler-test:4:29\n |\n 4 | const b: [[u8; 2]; 3] = [[0; 3]; 2]; // initializer (incorrectly reversed ordering)\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/type_nested_value_nested_4x3x2.leo.out b/tests/expectations/compiler/compiler/array/type_nested_value_nested_4x3x2.leo.out index ef090731fb..45f267cf6d 100644 --- a/tests/expectations/compiler/compiler/array/type_nested_value_nested_4x3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_nested_value_nested_4x3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: c3c30cd2e66f21abef8c49e0ac3d49ed3b607097815c354b14ea9e44d41c0a69 + imports_resolved_ast: c3c30cd2e66f21abef8c49e0ac3d49ed3b607097815c354b14ea9e44d41c0a69 + canonicalized_ast: c3c30cd2e66f21abef8c49e0ac3d49ed3b607097815c354b14ea9e44d41c0a69 + type_inferenced_ast: 557825e28344c8313d9961f9551eabe9c32ee85c524b9b9a6b0fc202c22fa9f3 diff --git a/tests/expectations/compiler/compiler/array/type_nested_value_nested_4x3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/type_nested_value_nested_4x3x2_fail.leo.out index 3f519cf1b5..45474940cb 100644 --- a/tests/expectations/compiler/compiler/array/type_nested_value_nested_4x3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/type_nested_value_nested_4x3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 4', received: 'array of length 2'\n --> compiler-test:4:34\n |\n 4 | const b: [[[u8; 2]; 3]; 4] = [[[0; 4]; 3]; 2]; // initializer (incorrectly reversed ordering)\n | ^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/type_nested_value_tuple_3x2.leo.out b/tests/expectations/compiler/compiler/array/type_nested_value_tuple_3x2.leo.out index ef090731fb..8a7be41081 100644 --- a/tests/expectations/compiler/compiler/array/type_nested_value_tuple_3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_nested_value_tuple_3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6c062f01a78d515f780a4c13de65d466edda274a2cb519af47a319ed165db0fa + imports_resolved_ast: 6c062f01a78d515f780a4c13de65d466edda274a2cb519af47a319ed165db0fa + canonicalized_ast: 382e9b8b4a635b0be6f62409a20bbdc10d37d08c17658414d1ddef8e6eb00749 + type_inferenced_ast: 13d8af6038fbc63ae76be51f23e43152ab473b895d206160716008da87da3416 diff --git a/tests/expectations/compiler/compiler/array/type_nested_value_tuple_3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/type_nested_value_tuple_3x2_fail.leo.out index 3f519cf1b5..e6be12de69 100644 --- a/tests/expectations/compiler/compiler/array/type_nested_value_tuple_3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/type_nested_value_tuple_3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 3', received: 'array of length 2'\n --> compiler-test:4:29\n |\n 4 | const b: [[u8; 2]; 3] = [0; (2, 3)]; // initializer (incorrectly reversed ordering)\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/type_nested_value_tuple_4x3x2.leo.out b/tests/expectations/compiler/compiler/array/type_nested_value_tuple_4x3x2.leo.out index ef090731fb..ab9861224d 100644 --- a/tests/expectations/compiler/compiler/array/type_nested_value_tuple_4x3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_nested_value_tuple_4x3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 228ba794b578de8828d761676c15059c51455aff96b02ef3cfafbef53c35454b + imports_resolved_ast: 228ba794b578de8828d761676c15059c51455aff96b02ef3cfafbef53c35454b + canonicalized_ast: 7869bd9531ba014bc2515e13bcafdfed2f9566e7008c1e015d43bb749d8d1d4a + type_inferenced_ast: 84b8976993f08b1b46fef6012018ad050eed6df1e34ae83fc0b57799a1acb395 diff --git a/tests/expectations/compiler/compiler/array/type_nested_value_tuple_4x3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/type_nested_value_tuple_4x3x2_fail.leo.out index 3f519cf1b5..640c3e964a 100644 --- a/tests/expectations/compiler/compiler/array/type_nested_value_tuple_4x3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/type_nested_value_tuple_4x3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 4', received: 'array of length 2'\n --> compiler-test:4:34\n |\n 4 | const b: [[[u8; 2]; 3]; 4] = [0; (2, 3, 4)]; // initializer (incorrectly reversed ordering)\n | ^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/type_tuple_value_nested_3x2.leo.out b/tests/expectations/compiler/compiler/array/type_tuple_value_nested_3x2.leo.out index ef090731fb..fc80de0f79 100644 --- a/tests/expectations/compiler/compiler/array/type_tuple_value_nested_3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_tuple_value_nested_3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0ea5856bbe7ad96107544e2b12c7ca54c279c4cd1c8b9610083430600ffa86f9 + imports_resolved_ast: 0ea5856bbe7ad96107544e2b12c7ca54c279c4cd1c8b9610083430600ffa86f9 + canonicalized_ast: 0083c78a81a6ec44627ca89fe949a5301ccaa54ead7104b9a2a3fbd979cf9a2c + type_inferenced_ast: a8b44ce543535e16db5d93df805dc5693d3a1140798cb336d573986de8dfdbca diff --git a/tests/expectations/compiler/compiler/array/type_tuple_value_nested_3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/type_tuple_value_nested_3x2_fail.leo.out index 3f519cf1b5..f05e92f051 100644 --- a/tests/expectations/compiler/compiler/array/type_tuple_value_nested_3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/type_tuple_value_nested_3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 2', received: 'array of length 3'\n --> compiler-test:4:29\n |\n 4 | const b: [u8; (2, 3)] = [[0; 2]; 3]; // initializer (incorrectly reversed ordering)\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/type_tuple_value_nested_4x3x2.leo.out b/tests/expectations/compiler/compiler/array/type_tuple_value_nested_4x3x2.leo.out index ef090731fb..d3e94231c4 100644 --- a/tests/expectations/compiler/compiler/array/type_tuple_value_nested_4x3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_tuple_value_nested_4x3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: db7e9050580f794aa657700225126e8033c0241240874f6e35df0507469be247 + imports_resolved_ast: db7e9050580f794aa657700225126e8033c0241240874f6e35df0507469be247 + canonicalized_ast: 55304d82a024ad2418e156ad661224040904775f070995bf1b828d1264c3487f + type_inferenced_ast: db99dd94ad4ef9de46304df000494eeda3e8b51835c46e6a3988ee87f91457fa diff --git a/tests/expectations/compiler/compiler/array/type_tuple_value_nested_4x3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/type_tuple_value_nested_4x3x2_fail.leo.out index 3f519cf1b5..02afe9a48e 100644 --- a/tests/expectations/compiler/compiler/array/type_tuple_value_nested_4x3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/type_tuple_value_nested_4x3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 4', received: 'array of length 2'\n --> compiler-test:4:32\n |\n 4 | const b: [u8; (4, 3, 2)] = [[[0; 4]; 3]; 2]; // initializer (incorrectly reversed ordering)\n | ^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_3x2.leo.out b/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_3x2.leo.out index ef090731fb..41f758d3c4 100644 --- a/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2730f954bc76f81d29b02a15f8025d75ca963234716112745b806789bb8eb297 + imports_resolved_ast: 2730f954bc76f81d29b02a15f8025d75ca963234716112745b806789bb8eb297 + canonicalized_ast: 4e07d5e399fa0f60ab84796ecc6195b2a8da0b3a9e725152465512e98f0ca753 + type_inferenced_ast: ea0f726ce456c52c62b73aae38afb74b160ae527480d05f3254c0fdaefdad58e diff --git a/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_3x2_fail.leo.out index 3f519cf1b5..1b75a63f99 100644 --- a/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 2', received: 'array of length 3'\n --> compiler-test:4:29\n |\n 4 | const b: [u8; (2, 3)] = [0; (3, 2)]; // initializer (incorrectly reversed ordering)\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_4x3x2.leo.out b/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_4x3x2.leo.out index ef090731fb..5586e09832 100644 --- a/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_4x3x2.leo.out +++ b/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_4x3x2.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 445b35e7d287dc14a77b2c1c4c77d9b7b4fbd6e7c31f6f35c91a446eeca29775 + imports_resolved_ast: 445b35e7d287dc14a77b2c1c4c77d9b7b4fbd6e7c31f6f35c91a446eeca29775 + canonicalized_ast: 48590d7afce08e9e0cd4a45048faa360c18109098b5a9074dfc21b252a47d3e8 + type_inferenced_ast: 0cc5d17973908631180a791f151bdc42aa3e8394b3fbc7607f717bc61baaf904 diff --git a/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_4x3x2_fail.leo.out b/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_4x3x2_fail.leo.out index 3f519cf1b5..67e96d07cf 100644 --- a/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_4x3x2_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/type_tuple_value_tuple_4x3x2_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 4', received: 'array of length 2'\n --> compiler-test:4:32\n |\n 4 | const b: [u8; (4, 3, 2)] = [0; (2, 3, 4)]; // initializer (incorrectly reversed order)\n | ^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/array/variable_slice_fail.leo.out b/tests/expectations/compiler/compiler/array/variable_slice_fail.leo.out index 3f519cf1b5..2362a9a01e 100644 --- a/tests/expectations/compiler/compiler/array/variable_slice_fail.leo.out +++ b/tests/expectations/compiler/compiler/array/variable_slice_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370007]: unexpected identifier: expected 'assert', 'error', 'log' -- got 'debug'\n --> compiler-test:7:17\n |\n 7 | console.debug(\"{}\", x);\n | ^^^^^" diff --git a/tests/expectations/compiler/compiler/boolean/and.leo.out b/tests/expectations/compiler/compiler/boolean/and.leo.out index ef090731fb..3c726a7331 100644 --- a/tests/expectations/compiler/compiler/boolean/and.leo.out +++ b/tests/expectations/compiler/compiler/boolean/and.leo.out @@ -1,4 +1,40 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3 + num_constraints: 3 + at: bbd0722c65502a4b903833f9ff9e614e877f9b5c58c670593e2aa290d0457b2f + bt: 49e8fa1fd3f85b0f486c49f194e4fff3da5e8039685fca1f3327389cbe9fc180 + ct: ae5c1ab4ec8811a2ec2efb38b91ab4a8b6fb80bd914b31f9a70559531aeb6a46 + output: + - input_file: input/false_false.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/false_true.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/true_false.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/true_true.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 2f7c3b9c806a873b6445200eb78a8e0e546ffe64c90fe2133355dd37a342b11b + imports_resolved_ast: 2f7c3b9c806a873b6445200eb78a8e0e546ffe64c90fe2133355dd37a342b11b + canonicalized_ast: 2f7c3b9c806a873b6445200eb78a8e0e546ffe64c90fe2133355dd37a342b11b + type_inferenced_ast: 87b86a66fc6e60502be0b0fb7cf677d5128390aec53f6893827a1bf02fca8370 diff --git a/tests/expectations/compiler/compiler/boolean/conditional.leo.out b/tests/expectations/compiler/compiler/boolean/conditional.leo.out index ef090731fb..51f3b463d5 100644 --- a/tests/expectations/compiler/compiler/boolean/conditional.leo.out +++ b/tests/expectations/compiler/compiler/boolean/conditional.leo.out @@ -1,4 +1,40 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3 + num_constraints: 3 + at: bbd0722c65502a4b903833f9ff9e614e877f9b5c58c670593e2aa290d0457b2f + bt: 49e8fa1fd3f85b0f486c49f194e4fff3da5e8039685fca1f3327389cbe9fc180 + ct: ae5c1ab4ec8811a2ec2efb38b91ab4a8b6fb80bd914b31f9a70559531aeb6a46 + output: + - input_file: input/false_false.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/false_true.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/true_false.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/true_true.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 5316ba00882aa3f9b538d349ed7141c4ee7c77ec01f6af9911b2652b6cd3e659 + imports_resolved_ast: 5316ba00882aa3f9b538d349ed7141c4ee7c77ec01f6af9911b2652b6cd3e659 + canonicalized_ast: 5316ba00882aa3f9b538d349ed7141c4ee7c77ec01f6af9911b2652b6cd3e659 + type_inferenced_ast: 7933d0a8f47892e42c3c670bc6433e8d820042a7396e10b6a63d22bd5b740f96 diff --git a/tests/expectations/compiler/compiler/boolean/equal.leo.out b/tests/expectations/compiler/compiler/boolean/equal.leo.out index ef090731fb..4f3e535ca9 100644 --- a/tests/expectations/compiler/compiler/boolean/equal.leo.out +++ b/tests/expectations/compiler/compiler/boolean/equal.leo.out @@ -1,4 +1,40 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3 + num_constraints: 3 + at: 01e9615846575e848deea9a9802ceed188fdbfc4660f6f22de41845adcce14ac + bt: 49e8fa1fd3f85b0f486c49f194e4fff3da5e8039685fca1f3327389cbe9fc180 + ct: 7ca43d5c34997f3c866631161cb33186cc016972238c07771ae105ca1b05320d + output: + - input_file: input/false_false.in + output: + registers: + x: + type: bool + value: "true" + - input_file: input/false_true.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/true_false.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/true_true.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: 08f026e24cab51634a7a2a6f1f3b082eace1d4be649cd9ff7c244194891d7d78 + imports_resolved_ast: 08f026e24cab51634a7a2a6f1f3b082eace1d4be649cd9ff7c244194891d7d78 + canonicalized_ast: 08f026e24cab51634a7a2a6f1f3b082eace1d4be649cd9ff7c244194891d7d78 + type_inferenced_ast: 2112e9f631a77bb16ba1561bbe1028a415413f23fd32d21bfe086e071938c845 diff --git a/tests/expectations/compiler/compiler/boolean/not_equal.leo.out b/tests/expectations/compiler/compiler/boolean/not_equal.leo.out index ef090731fb..d31cdae376 100644 --- a/tests/expectations/compiler/compiler/boolean/not_equal.leo.out +++ b/tests/expectations/compiler/compiler/boolean/not_equal.leo.out @@ -1,4 +1,40 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3 + num_constraints: 3 + at: 01e9615846575e848deea9a9802ceed188fdbfc4660f6f22de41845adcce14ac + bt: 49e8fa1fd3f85b0f486c49f194e4fff3da5e8039685fca1f3327389cbe9fc180 + ct: 7ca43d5c34997f3c866631161cb33186cc016972238c07771ae105ca1b05320d + output: + - input_file: input/false_false.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/false_true.in + output: + registers: + x: + type: bool + value: "true" + - input_file: input/true_false.in + output: + registers: + x: + type: bool + value: "true" + - input_file: input/true_true.in + output: + registers: + x: + type: bool + value: "false" + initial_ast: 094effa7fe12695679a571f560e1d3e8c299cde8de280f9309010c85f48bab95 + imports_resolved_ast: 094effa7fe12695679a571f560e1d3e8c299cde8de280f9309010c85f48bab95 + canonicalized_ast: 094effa7fe12695679a571f560e1d3e8c299cde8de280f9309010c85f48bab95 + type_inferenced_ast: ab25cb7bf7d8fe3ec64be183550ba8d6acfaf17464cf70ec45c6497fc065ac29 diff --git a/tests/expectations/compiler/compiler/boolean/or.leo.out b/tests/expectations/compiler/compiler/boolean/or.leo.out index ef090731fb..de8536a60d 100644 --- a/tests/expectations/compiler/compiler/boolean/or.leo.out +++ b/tests/expectations/compiler/compiler/boolean/or.leo.out @@ -1,4 +1,40 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3 + num_constraints: 3 + at: 1df8316bf2fa59a7a92242252ec3c26a425f07212a4c716b2fefd4ddabc2d773 + bt: b95daadce52bb9a3b59565f7078664afbebde46b9b5d6a187e4877926e7a506c + ct: fc07ea064122a2b3be5414ded4cd1e51e3aef7240ad33c8888d757909e9c2c07 + output: + - input_file: input/false_false.in + output: + registers: + x: + type: bool + value: "false" + - input_file: input/false_true.in + output: + registers: + x: + type: bool + value: "true" + - input_file: input/true_false.in + output: + registers: + x: + type: bool + value: "true" + - input_file: input/true_true.in + output: + registers: + x: + type: bool + value: "true" + initial_ast: e2facdce5f7cdbed4a3215cc258e54418aac4f4b846349b35e1da67b577b76c9 + imports_resolved_ast: e2facdce5f7cdbed4a3215cc258e54418aac4f4b846349b35e1da67b577b76c9 + canonicalized_ast: e2facdce5f7cdbed4a3215cc258e54418aac4f4b846349b35e1da67b577b76c9 + type_inferenced_ast: fb43dcb50c9822e2d4e4f35e9cc73f0893e508161296be5666cd90c4f7a971bc diff --git a/tests/expectations/compiler/compiler/char/invalid_char.leo.out b/tests/expectations/compiler/compiler/char/invalid_char.leo.out index 3f519cf1b5..c788506554 100644 --- a/tests/expectations/compiler/compiler/char/invalid_char.leo.out +++ b/tests/expectations/compiler/compiler/char/invalid_char.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370000]: '\n --> compiler-test:4:23\n |\n 4 | const not_valid = '';\n | ^" diff --git a/tests/expectations/compiler/compiler/char/neq.leo.out b/tests/expectations/compiler/compiler/char/neq.leo.out index ef090731fb..70b851fbc6 100644 --- a/tests/expectations/compiler/compiler/char/neq.leo.out +++ b/tests/expectations/compiler/compiler/char/neq.leo.out @@ -1,4 +1,106 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 6 + num_constraints: 3 + at: cc1286e0b6fa2e90fb6f0880431a7c1e2cc37a329fae3aff1c13f51036c66f12 + bt: 02c492cb6df07172e56cffd0cfd902a8443921e1256a2d907bbabd30bf6b8f6d + ct: a1f8e2b168c0f2f28f0ca3f16ce9b25ba7f7c410cfd68b0912bf19c90b53f2a2 + output: + - input_file: inputs/ascii.in + output: + registers: + r: + type: char + value: "'Z'" + - input_file: inputs/escaped_unicode1.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/escaped_unicode2.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/escaped_unicode3.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/escaped_unicode4.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/escaped_unicode5.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/escaped_unicode6.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/escaped.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/hex1.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/hex2.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/unicode1.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/unicode2.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/unicode3.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/unicode4.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/unicode5.in + output: + registers: + r: + type: char + value: "'a'" + initial_ast: ac56e34b2a2cb282d36133df39d80947dfdfc56b5655b3ba9f408ba529c8f505 + imports_resolved_ast: ac56e34b2a2cb282d36133df39d80947dfdfc56b5655b3ba9f408ba529c8f505 + canonicalized_ast: ac56e34b2a2cb282d36133df39d80947dfdfc56b5655b3ba9f408ba529c8f505 + type_inferenced_ast: 2eecf906226893c46f526a72f272a3f11eb34ada7cc4cd573439ebfed44ba170 diff --git a/tests/expectations/compiler/compiler/char/nonprinting.leo.out b/tests/expectations/compiler/compiler/char/nonprinting.leo.out index ef090731fb..2743086dc3 100644 --- a/tests/expectations/compiler/compiler/char/nonprinting.leo.out +++ b/tests/expectations/compiler/compiler/char/nonprinting.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 36 + num_constraints: 3 + at: 25579220a31118007fe071d3083ad5a5503f7dc6bd4d51abf15f1a7778a99c86 + bt: 8f5bf097224289e45b78e01a711900a993240585fe13744f9ab71a9c5c4d9111 + ct: df019f90846f94966d481bfb6d579bee9c47d281176e210ccd973210afc957a1 + output: + - input_file: inputs/nonprinting.in + output: + registers: + r0: + type: "[char; 33]" + value: "\"\\u{0}\\u{1}\\u{2}\\u{3}\\u{4}\\u{5}\\u{6}\\u{7}\\u{8}\\t\\n\\u{b}\\u{c}\\r\\u{e}\\u{f}\\u{10}\\u{11}\\u{12}\\u{13}\\u{14}\\u{15}\\u{16}\\u{17}\\u{18}\\u{19}\\u{1a}\\u{1b}\\u{1c}\\u{1d}\\u{1e}\\u{1f} \"" + r1: + type: bool + value: "true" + initial_ast: da8550065db88bba8f0a982612194f6122ec97025c4af5d3007d3a4d42519cb9 + imports_resolved_ast: da8550065db88bba8f0a982612194f6122ec97025c4af5d3007d3a4d42519cb9 + canonicalized_ast: da8550065db88bba8f0a982612194f6122ec97025c4af5d3007d3a4d42519cb9 + type_inferenced_ast: b3ea99e7660209825c5bb1abcba8c1835cf96b79c8707e616513122ab10ac0d5 diff --git a/tests/expectations/compiler/compiler/char/out.leo.out b/tests/expectations/compiler/compiler/char/out.leo.out index ef090731fb..e61799dc7c 100644 --- a/tests/expectations/compiler/compiler/char/out.leo.out +++ b/tests/expectations/compiler/compiler/char/out.leo.out @@ -1,4 +1,106 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 6 + num_constraints: 4 + at: 2859fe6f24016b5634df2791da7de932e68ec32c73b5b573e0c39e968c7a4e12 + bt: 8143508f19c8eee208a7fbbcfb833aeeace6ba0a761e41d028599d2237cc60fa + ct: d0c6feeed1e6b8d5c0e03dc9e25641b7fdc34ad912e2b1488296d4a99ed6cbf5 + output: + - input_file: inputs/ascii.in + output: + registers: + r: + type: char + value: "'a'" + - input_file: inputs/escaped_unicode1.in + output: + registers: + r: + type: char + value: "'\\u{f}'" + - input_file: inputs/escaped_unicode2.in + output: + registers: + r: + type: char + value: "'Ã¥'" + - input_file: inputs/escaped_unicode3.in + output: + registers: + r: + type: char + value: "'Ó '" + - input_file: inputs/escaped_unicode4.in + output: + registers: + r: + type: char + value: "'\\u{2764}'" + - input_file: inputs/escaped_unicode5.in + output: + registers: + r: + type: char + value: "'\\u{1f622}'" + - input_file: inputs/escaped_unicode6.in + output: + registers: + r: + type: char + value: "'\\u{10001f}'" + - input_file: inputs/escaped.in + output: + registers: + r: + type: char + value: "'\\''" + - input_file: inputs/hex1.in + output: + registers: + r: + type: char + value: "'*'" + - input_file: inputs/hex2.in + output: + registers: + r: + type: char + value: "'\\u{7f}'" + - input_file: inputs/unicode1.in + output: + registers: + r: + type: char + value: "'\\u{e00f}'" + - input_file: inputs/unicode2.in + output: + registers: + r: + type: char + value: "'Ã¥'" + - input_file: inputs/unicode3.in + output: + registers: + r: + type: char + value: "'Ó '" + - input_file: inputs/unicode4.in + output: + registers: + r: + type: char + value: "'\\u{2764}'" + - input_file: inputs/unicode5.in + output: + registers: + r: + type: char + value: "'\\u{1f62d}'" + initial_ast: 6e1cf86d47e056682c6e51dcf0390eb34505b60d50de60970a688f237525bedf + imports_resolved_ast: 6e1cf86d47e056682c6e51dcf0390eb34505b60d50de60970a688f237525bedf + canonicalized_ast: 6e1cf86d47e056682c6e51dcf0390eb34505b60d50de60970a688f237525bedf + type_inferenced_ast: feb16e72f13a884e3303b336f7f20ff8ff4066a8f9861860e28b9c6901215b76 diff --git a/tests/expectations/compiler/compiler/circuits/big_self_in_circuit_replacement.leo.out b/tests/expectations/compiler/compiler/circuits/big_self_in_circuit_replacement.leo.out index ef090731fb..0fc5a81aef 100644 --- a/tests/expectations/compiler/compiler/circuits/big_self_in_circuit_replacement.leo.out +++ b/tests/expectations/compiler/compiler/circuits/big_self_in_circuit_replacement.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 58f66e3a45b1752bb5dbb454adbbe6136394a7a87bc7b812d154aec1d5eac816 + imports_resolved_ast: 58f66e3a45b1752bb5dbb454adbbe6136394a7a87bc7b812d154aec1d5eac816 + canonicalized_ast: f7359bbb8cecd0923c0aa7dd7fd6b01cb2c64e45f1e777709fb14d4e6ba0ee5a + type_inferenced_ast: f3a0378b8b60f66ca164be498224592907216262a54a92d878e52f0a85f53389 diff --git a/tests/expectations/compiler/compiler/circuits/big_self_outside_circuit_fail.leo.out b/tests/expectations/compiler/compiler/circuits/big_self_outside_circuit_fail.leo.out index 3f519cf1b5..7d1e87d756 100644 --- a/tests/expectations/compiler/compiler/circuits/big_self_outside_circuit_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/big_self_outside_circuit_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EAST0372005]: cannot call keyword `Self` outside of a circuit function\n --> compiler-test:16:3\n |\n 16 | let foo: Self = Foo::new();\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/const_self_variable.leo.out b/tests/expectations/compiler/compiler/circuits/const_self_variable.leo.out index ef090731fb..43b8d36554 100644 --- a/tests/expectations/compiler/compiler/circuits/const_self_variable.leo.out +++ b/tests/expectations/compiler/compiler/circuits/const_self_variable.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 50c0f7261d879373f4e01ec3d140a2067ca4e78622c8340e8312d717f6effb05 + imports_resolved_ast: 50c0f7261d879373f4e01ec3d140a2067ca4e78622c8340e8312d717f6effb05 + canonicalized_ast: 50c0f7261d879373f4e01ec3d140a2067ca4e78622c8340e8312d717f6effb05 + type_inferenced_ast: 161edd5d1900f2902bd8cc972308ce7fb0afe7c6cf64ab7cfe952c3f1b3189c0 diff --git a/tests/expectations/compiler/compiler/circuits/const_self_variable_fail.leo.out b/tests/expectations/compiler/compiler/circuits/const_self_variable_fail.leo.out index 3f519cf1b5..e995bb86db 100644 --- a/tests/expectations/compiler/compiler/circuits/const_self_variable_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/const_self_variable_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373032]: illegal assignment to immutable variable 'self'\n --> compiler-test:7:9\n |\n 7 | self.a = new;\n | ^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/define_circuit_inside_circuit_function.leo.out b/tests/expectations/compiler/compiler/circuits/define_circuit_inside_circuit_function.leo.out index ef090731fb..4a4ff1f5fd 100644 --- a/tests/expectations/compiler/compiler/circuits/define_circuit_inside_circuit_function.leo.out +++ b/tests/expectations/compiler/compiler/circuits/define_circuit_inside_circuit_function.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 95 + num_constraints: 95 + at: a57d02fa8b8a2336cc5c407e6a9489a3cb89357e3a3d966f18d8f0f86c21602f + bt: e0a9aa0cab882fb690b28137d24f271ccaa334521934a3badc07592a31b7be7f + ct: 7b8a2025971971c829b68fc994c6761496807e5b091ba4360d90fb6f35f4656e + output: + - input_file: func_circ.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: bfd7751e8ea64c6d41af36d968f194a18a5411ac71932a67766f40448ce755f5 + imports_resolved_ast: bfd7751e8ea64c6d41af36d968f194a18a5411ac71932a67766f40448ce755f5 + canonicalized_ast: bfd7751e8ea64c6d41af36d968f194a18a5411ac71932a67766f40448ce755f5 + type_inferenced_ast: 910b51f962861da6011f214a5379bc9296034e3fecda347b17c7db97df833a25 diff --git a/tests/expectations/compiler/compiler/circuits/duplicate_name_context.leo.out b/tests/expectations/compiler/compiler/circuits/duplicate_name_context.leo.out index ef090731fb..3e8bc37c51 100644 --- a/tests/expectations/compiler/compiler/circuits/duplicate_name_context.leo.out +++ b/tests/expectations/compiler/compiler/circuits/duplicate_name_context.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d8a66347f480161a2215c92d2cf6ded2d0b49fd76b7eb0036d4fa33de371925a + imports_resolved_ast: d8a66347f480161a2215c92d2cf6ded2d0b49fd76b7eb0036d4fa33de371925a + canonicalized_ast: d8a66347f480161a2215c92d2cf6ded2d0b49fd76b7eb0036d4fa33de371925a + type_inferenced_ast: d5bb87130d78bb39fa948ce868999184f90c78ada176cf08c49051517de3351c diff --git a/tests/expectations/compiler/compiler/circuits/inline.leo.out b/tests/expectations/compiler/compiler/circuits/inline.leo.out index ef090731fb..dff5b84d3e 100644 --- a/tests/expectations/compiler/compiler/circuits/inline.leo.out +++ b/tests/expectations/compiler/compiler/circuits/inline.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 32 + num_constraints: 32 + at: 4f36fe54f989d60bb9c279120800f4f44596c2efb7ba703669d4c4d591569780 + bt: d378030968a64801f66d95699329086ca17e676d8bffcf73f6b431cbda7c7005 + ct: dbd098af6556ed79650d149b1691be336a46f8bad6f327e942508dd11342575e + output: + - input_file: inline.in + output: + registers: + r0: + type: u32 + value: "100" + initial_ast: c40a1d60f872fdb03ab7379a3abf43439a100b8f1546b76ffeac60c8739e0d68 + imports_resolved_ast: c40a1d60f872fdb03ab7379a3abf43439a100b8f1546b76ffeac60c8739e0d68 + canonicalized_ast: c40a1d60f872fdb03ab7379a3abf43439a100b8f1546b76ffeac60c8739e0d68 + type_inferenced_ast: 3d56ffd95d1b84970e24f10a48f52053717876f062db72d8be93f413f7b2c9a3 diff --git a/tests/expectations/compiler/compiler/circuits/inline_fail.leo.out b/tests/expectations/compiler/compiler/circuits/inline_fail.leo.out index 3f519cf1b5..8af6948767 100644 --- a/tests/expectations/compiler/compiler/circuits/inline_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/inline_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373002]: missing circuit member 'x' for initialization of circuit 'Foo'\n --> compiler-test:9:15\n |\n 9 | const a = Foo { y: 0u32 };\n | ^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/inline_member_fail.leo.out b/tests/expectations/compiler/compiler/circuits/inline_member_fail.leo.out index 3f519cf1b5..53e7c8bd36 100644 --- a/tests/expectations/compiler/compiler/circuits/inline_member_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/inline_member_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373002]: missing circuit member 'x' for initialization of circuit 'Foo'\n --> compiler-test:9:15\n |\n 9 | const a = Foo { y };\n | ^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/inline_member_pass.leo.out b/tests/expectations/compiler/compiler/circuits/inline_member_pass.leo.out index ef090731fb..486a6ec9b8 100644 --- a/tests/expectations/compiler/compiler/circuits/inline_member_pass.leo.out +++ b/tests/expectations/compiler/compiler/circuits/inline_member_pass.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: inline.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: cf642f2f983cd8bcd6cbca2d2920f5234d79375601c1da3c06f97b6185a5629d + imports_resolved_ast: cf642f2f983cd8bcd6cbca2d2920f5234d79375601c1da3c06f97b6185a5629d + canonicalized_ast: f99560385252ad2965e39b19402e7c56db402458206187eeb54adc26effd9bb5 + type_inferenced_ast: c7c5cd5ed24fd3967f19a5ad895aeb7778b3dfadc7965c3f5bc1d44c61448083 diff --git a/tests/expectations/compiler/compiler/circuits/inline_undefined.leo.out b/tests/expectations/compiler/compiler/circuits/inline_undefined.leo.out index 3f519cf1b5..690ccca5b5 100644 --- a/tests/expectations/compiler/compiler/circuits/inline_undefined.leo.out +++ b/tests/expectations/compiler/compiler/circuits/inline_undefined.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373000]: failed to resolve circuit: 'Foo'\n --> compiler-test:4:15\n |\n 4 | const a = Foo { };\n | ^^^" diff --git a/tests/expectations/compiler/compiler/circuits/member_function.leo.out b/tests/expectations/compiler/compiler/circuits/member_function.leo.out index ef090731fb..48b1947e43 100644 --- a/tests/expectations/compiler/compiler/circuits/member_function.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_function.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 5273a592b167cfe040b2bca7337521084d7a6640651bca584545e9eeb2e4fa88 + imports_resolved_ast: 5273a592b167cfe040b2bca7337521084d7a6640651bca584545e9eeb2e4fa88 + canonicalized_ast: 5273a592b167cfe040b2bca7337521084d7a6640651bca584545e9eeb2e4fa88 + type_inferenced_ast: 6d1bef6ecbba4533266f9478b06e52acc56f04850e99a658abffe39e7e463cdf diff --git a/tests/expectations/compiler/compiler/circuits/member_function_fail.leo.out b/tests/expectations/compiler/compiler/circuits/member_function_fail.leo.out index 3f519cf1b5..fdaddd7eed 100644 --- a/tests/expectations/compiler/compiler/circuits/member_function_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_function_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373001]: illegal reference to non-existant member 'echoed' of circuit 'Foo'\n --> compiler-test:11:17\n |\n 11 | const err = a.echoed(1u32);\n | ^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/member_function_invalid.leo.out b/tests/expectations/compiler/compiler/circuits/member_function_invalid.leo.out index 3f519cf1b5..fd47d80984 100644 --- a/tests/expectations/compiler/compiler/circuits/member_function_invalid.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_function_invalid.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373008]: cannot call static function 'echo' of circuit 'Foo' from target\n --> compiler-test:11:17\n |\n 11 | const err = a.echo(1u32); // echo is a static function and must be accessed using `::`\n | ^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/member_function_nested.leo.out b/tests/expectations/compiler/compiler/circuits/member_function_nested.leo.out index ef090731fb..5428da7f87 100644 --- a/tests/expectations/compiler/compiler/circuits/member_function_nested.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_function_nested.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 161 + num_constraints: 163 + at: 4251eba02c1be1eeb4193b08906095b69cdec831207fe2ddba09e783ad4725ce + bt: 799dc824f6ba6a51959a395a3b5ebf05629aa241dbca9550190f32380b91ae1c + ct: 2aa6128cdf932752c8864c26a6a3d4991f3e6a75b22c1261a3389efa67375b01 + output: + - input_file: inline.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 241f1a42877b012b2e2062cefbd83523a5c719557cb422cf1fbd7efb0f7b1796 + imports_resolved_ast: 241f1a42877b012b2e2062cefbd83523a5c719557cb422cf1fbd7efb0f7b1796 + canonicalized_ast: 241f1a42877b012b2e2062cefbd83523a5c719557cb422cf1fbd7efb0f7b1796 + type_inferenced_ast: 2982ee6fda2fcbd00f64d2c0c75ccacf58ab05961f85e9a64cc0ddec12bb5209 diff --git a/tests/expectations/compiler/compiler/circuits/member_static_function.leo.out b/tests/expectations/compiler/compiler/circuits/member_static_function.leo.out index ef090731fb..867b688fa2 100644 --- a/tests/expectations/compiler/compiler/circuits/member_static_function.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_static_function.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 11dfbfa2561534a1c965d8f8862b23ed56be50986903c139b763f88a1ba3ad8d + imports_resolved_ast: 11dfbfa2561534a1c965d8f8862b23ed56be50986903c139b763f88a1ba3ad8d + canonicalized_ast: 11dfbfa2561534a1c965d8f8862b23ed56be50986903c139b763f88a1ba3ad8d + type_inferenced_ast: 6aab6f0cf6a9237ec02b5ce3f4ad8f24c8faa8ec5ccbc7f3af1023d0269dceea diff --git a/tests/expectations/compiler/compiler/circuits/member_static_function_invalid.leo.out b/tests/expectations/compiler/compiler/circuits/member_static_function_invalid.leo.out index 3f519cf1b5..9311064dc2 100644 --- a/tests/expectations/compiler/compiler/circuits/member_static_function_invalid.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_static_function_invalid.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373027]: failed to resolve variable reference 'Foo'\n --> compiler-test:10:17\n |\n 10 | const err = Foo.echo(1u32); // Invalid, echo is a static function and must be accessed using `::`\n | ^^^" diff --git a/tests/expectations/compiler/compiler/circuits/member_static_function_nested.leo.out b/tests/expectations/compiler/compiler/circuits/member_static_function_nested.leo.out index ef090731fb..a10fb07f86 100644 --- a/tests/expectations/compiler/compiler/circuits/member_static_function_nested.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_static_function_nested.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 42f603efbf7ee8ca53394266f33fbf09110420c822385179d656861e8ceb4a32 + imports_resolved_ast: 42f603efbf7ee8ca53394266f33fbf09110420c822385179d656861e8ceb4a32 + canonicalized_ast: 92d91209d7675fc14ae1fd44c28d1384f1c56c5852654b4dac46dd123340d9c0 + type_inferenced_ast: 0527005fb0925ac29af65bb0c12c39991d466c20def41ce7e4a2ded51ae233fc diff --git a/tests/expectations/compiler/compiler/circuits/member_static_function_undefined.leo.out b/tests/expectations/compiler/compiler/circuits/member_static_function_undefined.leo.out index 3f519cf1b5..918bf95807 100644 --- a/tests/expectations/compiler/compiler/circuits/member_static_function_undefined.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_static_function_undefined.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373001]: illegal reference to non-existant member 'echoed' of circuit 'Foo'\n --> compiler-test:10:17\n |\n 10 | const err = Foo::echoed(1u32);\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/member_variable.leo.out b/tests/expectations/compiler/compiler/circuits/member_variable.leo.out index ef090731fb..01852c344d 100644 --- a/tests/expectations/compiler/compiler/circuits/member_variable.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_variable.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: cf41b78f9435c6555014db8aeebe662556f4f8547ee0f3a204d6f522fcf72644 + imports_resolved_ast: cf41b78f9435c6555014db8aeebe662556f4f8547ee0f3a204d6f522fcf72644 + canonicalized_ast: cf41b78f9435c6555014db8aeebe662556f4f8547ee0f3a204d6f522fcf72644 + type_inferenced_ast: d947fa6d8fa1b34cc9822ade386062dbd6ebc2cb5987479d4263bcfa554586cd diff --git a/tests/expectations/compiler/compiler/circuits/member_variable_and_function.leo.out b/tests/expectations/compiler/compiler/circuits/member_variable_and_function.leo.out index ef090731fb..dafeae69a8 100644 --- a/tests/expectations/compiler/compiler/circuits/member_variable_and_function.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_variable_and_function.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 622baae85ab7776fc38cff17465e8e0dbcdb98f4ba74e734ca494b696cea8ccd + imports_resolved_ast: 622baae85ab7776fc38cff17465e8e0dbcdb98f4ba74e734ca494b696cea8ccd + canonicalized_ast: 622baae85ab7776fc38cff17465e8e0dbcdb98f4ba74e734ca494b696cea8ccd + type_inferenced_ast: c604cecb0efbae6b8ea3d69909c5decbb06d6a2e95ff67661f5936ef8fd951a5 diff --git a/tests/expectations/compiler/compiler/circuits/member_variable_fail.leo.out b/tests/expectations/compiler/compiler/circuits/member_variable_fail.leo.out index 3f519cf1b5..eef6c84a76 100644 --- a/tests/expectations/compiler/compiler/circuits/member_variable_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/member_variable_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373001]: illegal reference to non-existant member 'y' of circuit 'Foo'\n --> compiler-test:9:17\n |\n 9 | const err = a.y;\n | ^^^" diff --git a/tests/expectations/compiler/compiler/circuits/mut_function_fail.leo.out b/tests/expectations/compiler/compiler/circuits/mut_function_fail.leo.out index 3f519cf1b5..f81a2e6a10 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_function_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_function_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373006]: attempt to assign to function 'bar'\n --> compiler-test:12:5\n |\n 12 | f.bar = 1u8;\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/mut_self_function_fail.leo.out b/tests/expectations/compiler/compiler/circuits/mut_self_function_fail.leo.out index 3f519cf1b5..a560ec1f26 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_self_function_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_self_function_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373006]: attempt to assign to function 'bar'\n --> compiler-test:9:9\n |\n 9 | self.bar = new;\n | ^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/mut_self_static_function_fail.leo.out b/tests/expectations/compiler/compiler/circuits/mut_self_static_function_fail.leo.out index 3f519cf1b5..a560ec1f26 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_self_static_function_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_self_static_function_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373006]: attempt to assign to function 'bar'\n --> compiler-test:9:9\n |\n 9 | self.bar = new;\n | ^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/mut_self_variable.leo.out b/tests/expectations/compiler/compiler/circuits/mut_self_variable.leo.out index ef090731fb..15d4737f53 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_self_variable.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_self_variable.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ba91ea172a2f753bf4a338f29fff05c358d4dc0cb1c2ef461d492ee4fe2a1114 + imports_resolved_ast: ba91ea172a2f753bf4a338f29fff05c358d4dc0cb1c2ef461d492ee4fe2a1114 + canonicalized_ast: 8d1beaecc785aa79a5a6bec47cf10426b9d3d87ccc15c359f12c7d3ee2a95561 + type_inferenced_ast: 520a83004a666274e62958b6e2025d11ed5e24d888b6bc0ded6d01ee9a3bc634 diff --git a/tests/expectations/compiler/compiler/circuits/mut_self_variable_branch.leo.out b/tests/expectations/compiler/compiler/circuits/mut_self_variable_branch.leo.out index ef090731fb..075d930428 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_self_variable_branch.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_self_variable_branch.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: fe7ca41c29d33107a4316b9c6788898217129937cbf1de0f2ea7566a360245f0 + imports_resolved_ast: fe7ca41c29d33107a4316b9c6788898217129937cbf1de0f2ea7566a360245f0 + canonicalized_ast: d2b30a9485e7166a0efde9d179432e481a4d40540e1b3eeec043b84d993e66df + type_inferenced_ast: 2c666d0e878095617bc562aa74de4fe069401b4a80ba8dba28a47a789f517ab5 diff --git a/tests/expectations/compiler/compiler/circuits/mut_self_variable_conditional.leo.out b/tests/expectations/compiler/compiler/circuits/mut_self_variable_conditional.leo.out index ef090731fb..1f3edc74a6 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_self_variable_conditional.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_self_variable_conditional.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 659e5fcdd16752c6e3504f821a5afd6f0756bd6b8641f127ba049c2a4c83a088 + imports_resolved_ast: 659e5fcdd16752c6e3504f821a5afd6f0756bd6b8641f127ba049c2a4c83a088 + canonicalized_ast: 8cf6113b757cfeee53554c67dd3f380f0f417032b8835259bf30076b19349f61 + type_inferenced_ast: d4106eb006385de5bf2a56a1ebaa25a65b048f77dda6fb9585c86a9260073585 diff --git a/tests/expectations/compiler/compiler/circuits/mut_self_variable_fail.leo.out b/tests/expectations/compiler/compiler/circuits/mut_self_variable_fail.leo.out index 3f519cf1b5..e995bb86db 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_self_variable_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_self_variable_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373032]: illegal assignment to immutable variable 'self'\n --> compiler-test:7:9\n |\n 7 | self.a = new;\n | ^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/mut_static_function_fail.leo.out b/tests/expectations/compiler/compiler/circuits/mut_static_function_fail.leo.out index 3f519cf1b5..3bd203bc2a 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_static_function_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_static_function_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373005]: extra circuit member 'a' for initialization of circuit 'Foo' is not allowed\n --> compiler-test:8:19\n |\n 8 | let f = Foo { a: 0u8 };\n | ^" diff --git a/tests/expectations/compiler/compiler/circuits/mut_variable.leo.out b/tests/expectations/compiler/compiler/circuits/mut_variable.leo.out index ef090731fb..2d1473ebfd 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_variable.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_variable.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 8c4a98dec3d2e9e826e3419c91a251e821861a146325b025c52ff15b5edefe1c + imports_resolved_ast: 8c4a98dec3d2e9e826e3419c91a251e821861a146325b025c52ff15b5edefe1c + canonicalized_ast: 8c4a98dec3d2e9e826e3419c91a251e821861a146325b025c52ff15b5edefe1c + type_inferenced_ast: 2497671092bacab8cb5d75177298a700100bfa8412a48a7115d178e5d9816a6b diff --git a/tests/expectations/compiler/compiler/circuits/mut_variable_fail.leo.out b/tests/expectations/compiler/compiler/circuits/mut_variable_fail.leo.out index 3f519cf1b5..4e0dd84533 100644 --- a/tests/expectations/compiler/compiler/circuits/mut_variable_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mut_variable_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373032]: illegal assignment to immutable variable 'f'\n --> compiler-test:10:5\n |\n 10 | f.a = 1u8;\n | ^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/mutable_call_immutable_context.leo.out b/tests/expectations/compiler/compiler/circuits/mutable_call_immutable_context.leo.out index ef090731fb..3e206e0757 100644 --- a/tests/expectations/compiler/compiler/circuits/mutable_call_immutable_context.leo.out +++ b/tests/expectations/compiler/compiler/circuits/mutable_call_immutable_context.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 1f7de14429213b2b3b564d664c33e9cea134e1a157b861a1cf0ea1abc90b32f6 + imports_resolved_ast: 1f7de14429213b2b3b564d664c33e9cea134e1a157b861a1cf0ea1abc90b32f6 + canonicalized_ast: 94752f37ca7553267f341d2f96e657eb2fe6b5e403a4d3fb7d66d1662b81eb00 + type_inferenced_ast: e675411217f3465fdc23bab3c2f50c2264452d198ab3dd2e8059e546e54312a4 diff --git a/tests/expectations/compiler/compiler/circuits/pedersen_mock.leo.out b/tests/expectations/compiler/compiler/circuits/pedersen_mock.leo.out index ef090731fb..ba7f2afaa3 100644 --- a/tests/expectations/compiler/compiler/circuits/pedersen_mock.leo.out +++ b/tests/expectations/compiler/compiler/circuits/pedersen_mock.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 33823 + num_constraints: 50719 + at: 894e21b7ca1c178a167a94f174b4ea0d37b102b394100a15c92e78e16a87acdf + bt: 6756180897cb6c9fe53fce913fd9ad1c77a5b537b805da2c7f42de0473d12c94 + ct: 2f2e90dcee9f8a28e7a9fd4ee37093e4d247d07e4ab97937ecd0ba60ec5dd903 + output: + - input_file: pedersen.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: c341e62f8a3940ddc9527bcd01c814f8d496a1f02ca903b080b6228d155af02b + imports_resolved_ast: c341e62f8a3940ddc9527bcd01c814f8d496a1f02ca903b080b6228d155af02b + canonicalized_ast: 60cd9f24460e06522814151af817c9d394c779477091aab2c77c77dfe228b611 + type_inferenced_ast: 876f075ed034c8914b9f74f46f07bd6c2ed3e7d7f1ffb15e756da10e9ec9abf8 diff --git a/tests/expectations/compiler/compiler/circuits/return_self_type_array.leo.out b/tests/expectations/compiler/compiler/circuits/return_self_type_array.leo.out index ef090731fb..e10652f432 100644 --- a/tests/expectations/compiler/compiler/circuits/return_self_type_array.leo.out +++ b/tests/expectations/compiler/compiler/circuits/return_self_type_array.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 5da09287f1d3a5e4ab57f8da2c8094df25c3b35614791e2f6e84a77b609f29b0 + imports_resolved_ast: 5da09287f1d3a5e4ab57f8da2c8094df25c3b35614791e2f6e84a77b609f29b0 + canonicalized_ast: de5114bff3425e0c67e9e70e3a0d02bdf2d6c3ed9108dac43a00b79d4db9b3d2 + type_inferenced_ast: 9a6f5ee1784a1af0a04736e1b3bc886107bbddc5d45bbabd59812d083acacdea diff --git a/tests/expectations/compiler/compiler/circuits/return_self_type_tuple.leo.out b/tests/expectations/compiler/compiler/circuits/return_self_type_tuple.leo.out index ef090731fb..ac229cd771 100644 --- a/tests/expectations/compiler/compiler/circuits/return_self_type_tuple.leo.out +++ b/tests/expectations/compiler/compiler/circuits/return_self_type_tuple.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 1dce719e850f6ca6a091fea163d5d6bb069bcdafeeed0a10fb332ba8837e6e5c + imports_resolved_ast: 1dce719e850f6ca6a091fea163d5d6bb069bcdafeeed0a10fb332ba8837e6e5c + canonicalized_ast: 3bd96f7e9530f426db4a2e12d5a93a5ebcafedbcb7b4549d08ad387fa15918d9 + type_inferenced_ast: 6bbb246f57aa199b9ef31b61b6e858004617455efe22393892bf0c22f552d69a diff --git a/tests/expectations/compiler/compiler/circuits/self_circuit.leo.out b/tests/expectations/compiler/compiler/circuits/self_circuit.leo.out index 3f519cf1b5..d12165d6a1 100644 --- a/tests/expectations/compiler/compiler/circuits/self_circuit.leo.out +++ b/tests/expectations/compiler/compiler/circuits/self_circuit.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370009]: unexpected string: expected 'ident', got 'static'\n --> compiler-test:5:5\n |\n 5 | static function new() -> Self {\n | ^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/self_fail.leo.out b/tests/expectations/compiler/compiler/circuits/self_fail.leo.out index 3f519cf1b5..25126ce204 100644 --- a/tests/expectations/compiler/compiler/circuits/self_fail.leo.out +++ b/tests/expectations/compiler/compiler/circuits/self_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373000]: failed to resolve circuit: 'Self'\n --> compiler-test:4:5\n |\n 4 | Self::main();\n | ^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/self_member.leo.out b/tests/expectations/compiler/compiler/circuits/self_member.leo.out index ef090731fb..40907b9500 100644 --- a/tests/expectations/compiler/compiler/circuits/self_member.leo.out +++ b/tests/expectations/compiler/compiler/circuits/self_member.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: c2f6d0da67de691b14cffbdbe20eba613f2ea274c45aba4347045da2446b6af6 + imports_resolved_ast: c2f6d0da67de691b14cffbdbe20eba613f2ea274c45aba4347045da2446b6af6 + canonicalized_ast: c2f6d0da67de691b14cffbdbe20eba613f2ea274c45aba4347045da2446b6af6 + type_inferenced_ast: 3bf3d109f59519ecbfd601c36a8cb89cfb36e1ace395e361860023b8f93fc220 diff --git a/tests/expectations/compiler/compiler/circuits/self_member_invalid.leo.out b/tests/expectations/compiler/compiler/circuits/self_member_invalid.leo.out index 3f519cf1b5..85e1e719ef 100644 --- a/tests/expectations/compiler/compiler/circuits/self_member_invalid.leo.out +++ b/tests/expectations/compiler/compiler/circuits/self_member_invalid.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373008]: cannot call static function 'bar' of circuit 'Foo' from target\n --> compiler-test:13:17\n |\n 13 | const err = foo.bar();\n | ^^^^^^^" diff --git a/tests/expectations/compiler/compiler/circuits/self_member_undefined.leo.out b/tests/expectations/compiler/compiler/circuits/self_member_undefined.leo.out index 3f519cf1b5..604086e9eb 100644 --- a/tests/expectations/compiler/compiler/circuits/self_member_undefined.leo.out +++ b/tests/expectations/compiler/compiler/circuits/self_member_undefined.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373008]: cannot call static function 'bar' of circuit 'Foo' from target\n --> compiler-test:11:17\n |\n 11 | const err = foo.bar();\n | ^^^^^^^" diff --git a/tests/expectations/compiler/compiler/console/assert.leo.out b/tests/expectations/compiler/compiler/console/assert.leo.out index ef090731fb..7a1aa047e9 100644 --- a/tests/expectations/compiler/compiler/console/assert.leo.out +++ b/tests/expectations/compiler/compiler/console/assert.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: assert.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: bd23695040d06dbd59426b363ea66da8c9344aad064615d1b5beb6326933acbc + imports_resolved_ast: bd23695040d06dbd59426b363ea66da8c9344aad064615d1b5beb6326933acbc + canonicalized_ast: bd23695040d06dbd59426b363ea66da8c9344aad064615d1b5beb6326933acbc + type_inferenced_ast: 198e2817e4d6d454d7e1d1eba8226757d7f044b20e6dd4f6962530b177c469c5 diff --git a/tests/expectations/compiler/compiler/console/conditional_assert.leo.out b/tests/expectations/compiler/compiler/console/conditional_assert.leo.out index ef090731fb..1fb87c4c58 100644 --- a/tests/expectations/compiler/compiler/console/conditional_assert.leo.out +++ b/tests/expectations/compiler/compiler/console/conditional_assert.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: cond.in + output: + registers: {} + - input_file: cond_2.in + output: + registers: {} + initial_ast: a7b374e2c0a97af2160b5f6faeadb17a12e8908c1a7b3d251194e6867fd98f07 + imports_resolved_ast: a7b374e2c0a97af2160b5f6faeadb17a12e8908c1a7b3d251194e6867fd98f07 + canonicalized_ast: ebd1a1f28fafd6fc55c13f4c362ae9a13dee4717e41d99c23fd0d32c5fcdc526 + type_inferenced_ast: eb15aba7bdb3c3a2f776af8cb80f52f44d6d6ab60e5ee3c032ab4ec8a90a2436 diff --git a/tests/expectations/compiler/compiler/console/error.leo.out b/tests/expectations/compiler/compiler/console/error.leo.out index ef090731fb..da322715ae 100644 --- a/tests/expectations/compiler/compiler/console/error.leo.out +++ b/tests/expectations/compiler/compiler/console/error.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2496cb4a0f1486bbacccee48e3b8b93999916e585e238a5c7d63c34235d15a36 + imports_resolved_ast: 2496cb4a0f1486bbacccee48e3b8b93999916e585e238a5c7d63c34235d15a36 + canonicalized_ast: 2496cb4a0f1486bbacccee48e3b8b93999916e585e238a5c7d63c34235d15a36 + type_inferenced_ast: aa056968c0d635d56e2ad011db4df7fec65b62eb7b0ca8ec5c75ca8fca0f33eb diff --git a/tests/expectations/compiler/compiler/console/log.leo.out b/tests/expectations/compiler/compiler/console/log.leo.out index ef090731fb..6cf52c9b4d 100644 --- a/tests/expectations/compiler/compiler/console/log.leo.out +++ b/tests/expectations/compiler/compiler/console/log.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 8421d5ef70b41b773b771cb1991a5120a556d13127fb1c6cf7bbd6328150c7d5 + imports_resolved_ast: 8421d5ef70b41b773b771cb1991a5120a556d13127fb1c6cf7bbd6328150c7d5 + canonicalized_ast: 8421d5ef70b41b773b771cb1991a5120a556d13127fb1c6cf7bbd6328150c7d5 + type_inferenced_ast: 34e28d45203ffd3ec760af7baf8db09cfb14584107951fc5803122c0fc13f0e2 diff --git a/tests/expectations/compiler/compiler/console/log_conditional.leo.out b/tests/expectations/compiler/compiler/console/log_conditional.leo.out index ef090731fb..d2c91fd30b 100644 --- a/tests/expectations/compiler/compiler/console/log_conditional.leo.out +++ b/tests/expectations/compiler/compiler/console/log_conditional.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 190 + num_constraints: 190 + at: a1a80b7c355e1fa32c2136c4dc7a0fd0670affbdda869a9161a3a69f396c6b9a + bt: fbf306d0d13bf3d40926ad7adc07f122cb8d065e7e5d55f3416ac30d7ebe7a7c + ct: 97e2acff1b76912c52107342393ec04a09af81353a25f7ce330b8492f41381cf + output: + - input_file: input/input_unequal.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: input/input_equal.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 389c0d4a68bf27db627b83d460a2947a2321a76fc73e727806a9fe8c7f63fe88 + imports_resolved_ast: 389c0d4a68bf27db627b83d460a2947a2321a76fc73e727806a9fe8c7f63fe88 + canonicalized_ast: 389c0d4a68bf27db627b83d460a2947a2321a76fc73e727806a9fe8c7f63fe88 + type_inferenced_ast: d5fe9155615c6ca70430e6b33661214f14844a61d5064ad56d388fea147abfd7 diff --git a/tests/expectations/compiler/compiler/console/log_fail.leo.out b/tests/expectations/compiler/compiler/console/log_fail.leo.out index 3f519cf1b5..3d62711430 100644 --- a/tests/expectations/compiler/compiler/console/log_fail.leo.out +++ b/tests/expectations/compiler/compiler/console/log_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370009]: unexpected string: expected 'formatted string', got 'hello'\n --> compiler-test:4:18\n |\n 4 | console.log( hello );\n | ^^^^^" diff --git a/tests/expectations/compiler/compiler/console/log_input.leo.out b/tests/expectations/compiler/compiler/console/log_input.leo.out index ef090731fb..f185bd153a 100644 --- a/tests/expectations/compiler/compiler/console/log_input.leo.out +++ b/tests/expectations/compiler/compiler/console/log_input.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: de5d7719988638c095aba736ca2e09c2037be42e22c3b29bc2c07705e7bfd6ee + imports_resolved_ast: de5d7719988638c095aba736ca2e09c2037be42e22c3b29bc2c07705e7bfd6ee + canonicalized_ast: de5d7719988638c095aba736ca2e09c2037be42e22c3b29bc2c07705e7bfd6ee + type_inferenced_ast: 8e6fed7036467ea6116184b59b25589393393308a1c1fe963dc0ac4a9e76481a diff --git a/tests/expectations/compiler/compiler/console/log_parameter.leo.out b/tests/expectations/compiler/compiler/console/log_parameter.leo.out index ef090731fb..3d65eacddb 100644 --- a/tests/expectations/compiler/compiler/console/log_parameter.leo.out +++ b/tests/expectations/compiler/compiler/console/log_parameter.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 97523a5fea528d3defe4ddc2fa7b0a8af6b4ea8a364893c62c467f759cb4ee3f + imports_resolved_ast: 97523a5fea528d3defe4ddc2fa7b0a8af6b4ea8a364893c62c467f759cb4ee3f + canonicalized_ast: 97523a5fea528d3defe4ddc2fa7b0a8af6b4ea8a364893c62c467f759cb4ee3f + type_inferenced_ast: 613f187637adb705d9b61d73f3dd074de1443bc619326e2fd51fa8f722579f82 diff --git a/tests/expectations/compiler/compiler/console/log_parameter_fail_empty.leo.out b/tests/expectations/compiler/compiler/console/log_parameter_fail_empty.leo.out index 3f519cf1b5..a29353bd2f 100644 --- a/tests/expectations/compiler/compiler/console/log_parameter_fail_empty.leo.out +++ b/tests/expectations/compiler/compiler/console/log_parameter_fail_empty.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376006]: Formatter given 1 containers and found 0 parameters\n --> compiler-test:4:17\n |\n 4 | console.log(\"{}\");\n | ^^^^" diff --git a/tests/expectations/compiler/compiler/console/log_parameter_fail_none.leo.out b/tests/expectations/compiler/compiler/console/log_parameter_fail_none.leo.out index 3f519cf1b5..7af538b8d5 100644 --- a/tests/expectations/compiler/compiler/console/log_parameter_fail_none.leo.out +++ b/tests/expectations/compiler/compiler/console/log_parameter_fail_none.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376006]: Formatter given 0 containers and found 1 parameters\n --> compiler-test:4:17\n |\n 4 | console.log(\"\", 1u32);\n | ^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/console/log_parameter_fail_unknown.leo.out b/tests/expectations/compiler/compiler/console/log_parameter_fail_unknown.leo.out index 3f519cf1b5..13d96cc9b2 100644 --- a/tests/expectations/compiler/compiler/console/log_parameter_fail_unknown.leo.out +++ b/tests/expectations/compiler/compiler/console/log_parameter_fail_unknown.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373027]: failed to resolve variable reference 'a'\n --> compiler-test:4:23\n |\n 4 | console.log(\"{}\", a);\n | ^" diff --git a/tests/expectations/compiler/compiler/console/log_parameter_many.leo.out b/tests/expectations/compiler/compiler/console/log_parameter_many.leo.out index ef090731fb..e294fa474c 100644 --- a/tests/expectations/compiler/compiler/console/log_parameter_many.leo.out +++ b/tests/expectations/compiler/compiler/console/log_parameter_many.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: af681f8f7631db769ad1f0b9822b86407fb04871adb16e1069b83ee85b6cda3e + imports_resolved_ast: af681f8f7631db769ad1f0b9822b86407fb04871adb16e1069b83ee85b6cda3e + canonicalized_ast: af681f8f7631db769ad1f0b9822b86407fb04871adb16e1069b83ee85b6cda3e + type_inferenced_ast: c9824cee4e17d7cdb31526d24ed5aea45f719596b8dad46f4aec822fbff92e50 diff --git a/tests/expectations/compiler/compiler/core/core_circuit_invalid.leo.out b/tests/expectations/compiler/compiler/core/core_circuit_invalid.leo.out index 3f519cf1b5..6b1788bf0c 100644 --- a/tests/expectations/compiler/compiler/core/core_circuit_invalid.leo.out +++ b/tests/expectations/compiler/compiler/core/core_circuit_invalid.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373043]: failed to resolve import: 'core.unstable.blake2s'\n --> compiler-test:3:30\n |\n 3 | import core.unstable.blake2s.BadCircuit; // `BadCircuit` is not included in the blake2s package\n | ^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/core/core_circuit_star_fail.leo.out b/tests/expectations/compiler/compiler/core/core_circuit_star_fail.leo.out index 3f519cf1b5..c5cfe9c2bc 100644 --- a/tests/expectations/compiler/compiler/core/core_circuit_star_fail.leo.out +++ b/tests/expectations/compiler/compiler/core/core_circuit_star_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EAST0372011]: failed to resolve import: 'core'\n --> compiler-test:3:13\n |\n 3 | import core.*; // You cannot import all dependencies from core at once\n | ^" diff --git a/tests/expectations/compiler/compiler/core/core_package_invalid.leo.out b/tests/expectations/compiler/compiler/core/core_package_invalid.leo.out index 3f519cf1b5..1d348aeb97 100644 --- a/tests/expectations/compiler/compiler/core/core_package_invalid.leo.out +++ b/tests/expectations/compiler/compiler/core/core_package_invalid.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EAST0372011]: failed to resolve import: 'core'\n --> compiler-test:3:13\n |\n 3 | import core.bad_circuit; // `bad_circuit` is not a core package\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/core/core_unstable_package_invalid.leo.out b/tests/expectations/compiler/compiler/core/core_unstable_package_invalid.leo.out index 3f519cf1b5..ff3bf66480 100644 --- a/tests/expectations/compiler/compiler/core/core_unstable_package_invalid.leo.out +++ b/tests/expectations/compiler/compiler/core/core_unstable_package_invalid.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EAST0372011]: failed to resolve import: 'core.unstable'\n --> compiler-test:3:22\n |\n 3 | import core.unstable.bad_circuit; // `bad_circuit` is not a core unstable package\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/definition/out_of_order.leo.out b/tests/expectations/compiler/compiler/definition/out_of_order.leo.out index ef090731fb..ea0de75b49 100644 --- a/tests/expectations/compiler/compiler/definition/out_of_order.leo.out +++ b/tests/expectations/compiler/compiler/definition/out_of_order.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2b8f9e74a55ef80fa57c803636de64003b225c4cc4b826d0feba3be380ec0b32 + imports_resolved_ast: 2b8f9e74a55ef80fa57c803636de64003b225c4cc4b826d0feba3be380ec0b32 + canonicalized_ast: 56bb9f0f648dde5fd777de5bba07c44218022d1b91410b6b111bf49fb119588d + type_inferenced_ast: ef607716cf7d424af7888a58b121cf8c43a173424d06b04d8530f0db96dd2c31 diff --git a/tests/expectations/compiler/compiler/definition/out_of_order_with_import.leo.out b/tests/expectations/compiler/compiler/definition/out_of_order_with_import.leo.out index ef090731fb..e0d71173c8 100644 --- a/tests/expectations/compiler/compiler/definition/out_of_order_with_import.leo.out +++ b/tests/expectations/compiler/compiler/definition/out_of_order_with_import.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 53fcf08b3818e474a00c1cb70aca58d29bb956611ffdd069a242ef2633af6c50 + imports_resolved_ast: 80581d0ec6076d59b9fbaff32b646df1120b6ca28cdfe69482cbec641e7e3a1a + canonicalized_ast: 57c3de1d28c5b809c265e221ad26d3970445174a2edf2b0f22995e4eb6ffd807 + type_inferenced_ast: ca53699361b6d4aa80b2f733df6f39bd1a279d68336c2c6cbf196897a26b5e2a diff --git a/tests/expectations/compiler/compiler/field/add.leo.out b/tests/expectations/compiler/compiler/field/add.leo.out index ef090731fb..2238b1d873 100644 --- a/tests/expectations/compiler/compiler/field/add.leo.out +++ b/tests/expectations/compiler/compiler/field/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 5 + num_constraints: 3 + at: 58e404664f2d64d2fd5fee64bf6e997f542a822b8b17e394fcdd7bed05386db8 + bt: f91b8601243dbd0d25e7df8f34ff304ca78a295fdfafbe0102ec6ce4fcb3c0f0 + ct: fe68b86a12c0b8c1585a656d7c4b8c47fbe19677b5da7ce0aae1d80dffb2a2ca + output: + - input_file: inputs/fields.in + output: + registers: + r: + type: bool + value: "true" + initial_ast: dc99169bc40dff6491c84f2b70dc970fb74d8bcb139ce23ab2b0da5bff720430 + imports_resolved_ast: dc99169bc40dff6491c84f2b70dc970fb74d8bcb139ce23ab2b0da5bff720430 + canonicalized_ast: dc99169bc40dff6491c84f2b70dc970fb74d8bcb139ce23ab2b0da5bff720430 + type_inferenced_ast: 50e3aacddace87d41cc0c5ec8b9819a5c40ca1c9c3574ea883b85b8fd77c1cc3 diff --git a/tests/expectations/compiler/compiler/field/div.leo.out b/tests/expectations/compiler/compiler/field/div.leo.out index ef090731fb..b39950d9e7 100644 --- a/tests/expectations/compiler/compiler/field/div.leo.out +++ b/tests/expectations/compiler/compiler/field/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 7 + num_constraints: 5 + at: 545f3730dcbdb3a3dff41db4263dd41f9be9cf279fdc3cde9518973db0c88685 + bt: 0a5ae5a6be6351f852bbcc193e57320be38fff279cf6fd65a3239c3a64239b27 + ct: f25b05da849d0d7fcaab89d41d9624efacb48b7ba983f73a0d5f383b16f7009b + output: + - input_file: inputs/fields.in + output: + registers: + r: + type: bool + value: "true" + initial_ast: 4f93fba73bf22c15fd88cd83958c1d096f5fcdfbe1c95e871f14cd672e4790e8 + imports_resolved_ast: 4f93fba73bf22c15fd88cd83958c1d096f5fcdfbe1c95e871f14cd672e4790e8 + canonicalized_ast: 4f93fba73bf22c15fd88cd83958c1d096f5fcdfbe1c95e871f14cd672e4790e8 + type_inferenced_ast: 9b23dc524ac18ebeb198dde3e95d00cf452183cbfe0652c232a7ae0b29d4f34e diff --git a/tests/expectations/compiler/compiler/field/eq.leo.out b/tests/expectations/compiler/compiler/field/eq.leo.out index ef090731fb..19bf013d51 100644 --- a/tests/expectations/compiler/compiler/field/eq.leo.out +++ b/tests/expectations/compiler/compiler/field/eq.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 4 + num_constraints: 3 + at: ca775a363045cd405dd1d60cd10edb6cc6e4c0b164934951dab0977509b8225c + bt: 02c492cb6df07172e56cffd0cfd902a8443921e1256a2d907bbabd30bf6b8f6d + ct: a1f8e2b168c0f2f28f0ca3f16ce9b25ba7f7c410cfd68b0912bf19c90b53f2a2 + output: + - input_file: inputs/fields.in + output: + registers: + r: + type: bool + value: "true" + initial_ast: 279038173ca3a2bbeaefe14da8c79f4da2a885f59626a7ebc05a512f38a96e79 + imports_resolved_ast: 279038173ca3a2bbeaefe14da8c79f4da2a885f59626a7ebc05a512f38a96e79 + canonicalized_ast: 279038173ca3a2bbeaefe14da8c79f4da2a885f59626a7ebc05a512f38a96e79 + type_inferenced_ast: 0c67233c225770430cb57c611f70eeb248a7892884b140aa4e141c9a46bb48b8 diff --git a/tests/expectations/compiler/compiler/field/field.leo.out b/tests/expectations/compiler/compiler/field/field.leo.out index ef090731fb..3c66b486b6 100644 --- a/tests/expectations/compiler/compiler/field/field.leo.out +++ b/tests/expectations/compiler/compiler/field/field.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 4 + num_constraints: 3 + at: cfcc3adf871aef0910034c4c3478746733a9746d44fd678971ee2e1e5e69dffd + bt: 02c492cb6df07172e56cffd0cfd902a8443921e1256a2d907bbabd30bf6b8f6d + ct: a1f8e2b168c0f2f28f0ca3f16ce9b25ba7f7c410cfd68b0912bf19c90b53f2a2 + output: + - input_file: inputs/fields.in + output: + registers: + r: + type: bool + value: "true" + initial_ast: ab26194ed8eb600aca9329f95d1d34f567f8f23a7f3abf1bd374d68fedf835ab + imports_resolved_ast: ab26194ed8eb600aca9329f95d1d34f567f8f23a7f3abf1bd374d68fedf835ab + canonicalized_ast: ab26194ed8eb600aca9329f95d1d34f567f8f23a7f3abf1bd374d68fedf835ab + type_inferenced_ast: a129961f338ed15ef697362226422a48534480c0985c5023ea5183e9150cba07 diff --git a/tests/expectations/compiler/compiler/field/mul.leo.out b/tests/expectations/compiler/compiler/field/mul.leo.out index ef090731fb..ca464c6b39 100644 --- a/tests/expectations/compiler/compiler/field/mul.leo.out +++ b/tests/expectations/compiler/compiler/field/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 6 + num_constraints: 4 + at: 7dcea624bdc7a6e6fb5f5e93395e84a96db66898779eb3f5595c4e30e3684f17 + bt: c21a8e9f463d2fad68fd3a88904dd88f2a3dc7dcb01835357fa4ee457ef1673b + ct: 4b4ef106804964b8a1ee7c1dad3d4682d20a0d07f576130bfec9989b353bf596 + output: + - input_file: inputs/fields.in + output: + registers: + r: + type: bool + value: "false" + initial_ast: 8d0d2d5203583fe24eb60eb496dcdc3a83066ad82a8b5e92d35ab6b803e029ea + imports_resolved_ast: 8d0d2d5203583fe24eb60eb496dcdc3a83066ad82a8b5e92d35ab6b803e029ea + canonicalized_ast: 8d0d2d5203583fe24eb60eb496dcdc3a83066ad82a8b5e92d35ab6b803e029ea + type_inferenced_ast: 09780678c1e754f760bf08f1aecc706c058ffa6b73885dd5440f40e6354ac926 diff --git a/tests/expectations/compiler/compiler/field/negate.leo.out b/tests/expectations/compiler/compiler/field/negate.leo.out index ef090731fb..542372e6d8 100644 --- a/tests/expectations/compiler/compiler/field/negate.leo.out +++ b/tests/expectations/compiler/compiler/field/negate.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 4 + num_constraints: 3 + at: cc1286e0b6fa2e90fb6f0880431a7c1e2cc37a329fae3aff1c13f51036c66f12 + bt: 02c492cb6df07172e56cffd0cfd902a8443921e1256a2d907bbabd30bf6b8f6d + ct: a1f8e2b168c0f2f28f0ca3f16ce9b25ba7f7c410cfd68b0912bf19c90b53f2a2 + output: + - input_file: inputs/fields.in + output: + registers: + r: + type: bool + value: "true" + initial_ast: cbae2cc36e7902468336fe1356e7de41a43288ebfd6b024251086b9d8a32cec5 + imports_resolved_ast: cbae2cc36e7902468336fe1356e7de41a43288ebfd6b024251086b9d8a32cec5 + canonicalized_ast: cbae2cc36e7902468336fe1356e7de41a43288ebfd6b024251086b9d8a32cec5 + type_inferenced_ast: bd4b2bb9ce68719f78756803cbcde2f7dc0aa09f1f2612fa909bd2df39816dfb diff --git a/tests/expectations/compiler/compiler/field/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/field/no_space_between_literal.leo.out index 3f519cf1b5..bcdd357d41 100644 --- a/tests/expectations/compiler/compiler/field/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/field/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and field\n --> compiler-test:4:13\n |\n 4 | const f = 1 field;\n | ^" diff --git a/tests/expectations/compiler/compiler/function/array_input.leo.out b/tests/expectations/compiler/compiler/function/array_input.leo.out index ef090731fb..397414838c 100644 --- a/tests/expectations/compiler/compiler/function/array_input.leo.out +++ b/tests/expectations/compiler/compiler/function/array_input.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e53134e16501c1dc8fcc1fa68e513aa486d6b4ee2c3ce762da4b45b8f06029d1 + imports_resolved_ast: e53134e16501c1dc8fcc1fa68e513aa486d6b4ee2c3ce762da4b45b8f06029d1 + canonicalized_ast: 9024b75cbe9df679b3b0473589f2a1698bfc340d125c9bd76562d9e92548b945 + type_inferenced_ast: 5c1f49685a0e099ecd11607a35c6e67c97d5dec8551c153cd5789e07006b1318 diff --git a/tests/expectations/compiler/compiler/function/array_params_direct_call.leo.out b/tests/expectations/compiler/compiler/function/array_params_direct_call.leo.out index ef090731fb..c391a82254 100644 --- a/tests/expectations/compiler/compiler/function/array_params_direct_call.leo.out +++ b/tests/expectations/compiler/compiler/function/array_params_direct_call.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 8541fbc5a256e744d4939e6e221565a0bada891ed6269eceb3a84b288bdeadcc + imports_resolved_ast: 8541fbc5a256e744d4939e6e221565a0bada891ed6269eceb3a84b288bdeadcc + canonicalized_ast: b43be48e63718566c98d68fb855f0de85845855b9eb80f7929205db537bc1da2 + type_inferenced_ast: 558ac6d5261ca88b84d1a26447cf01b6e250fecc219441e0b4cb82d31c2e4dcc diff --git a/tests/expectations/compiler/compiler/function/conditional_return.leo.out b/tests/expectations/compiler/compiler/function/conditional_return.leo.out index ef090731fb..268f73fc7a 100644 --- a/tests/expectations/compiler/compiler/function/conditional_return.leo.out +++ b/tests/expectations/compiler/compiler/function/conditional_return.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 95 + num_constraints: 127 + at: 2cbb45563950440ec6b2ad12e378f1df49d6a12d4e773f0aa898f65f4eb109ff + bt: 7e12153373f45abf58e3b2954d1f1abfc951c7c1203e9e6c96fc37d9d25d8442 + ct: 50977b6cd45450d9fddf5934d9167f889165f6ff117b03bb780bd6d89434daf4 + output: + - input_file: input/integers.in + output: + registers: + a: + type: u32 + value: "4" + initial_ast: cf2d49dcd581c923b4ccfeb9c155de0e836fb8725c3c3af7abc5e6334231ba2f + imports_resolved_ast: cf2d49dcd581c923b4ccfeb9c155de0e836fb8725c3c3af7abc5e6334231ba2f + canonicalized_ast: cf2d49dcd581c923b4ccfeb9c155de0e836fb8725c3c3af7abc5e6334231ba2f + type_inferenced_ast: 085d3126391766edfb8cd9b92bff04cb67175fea26de3ff127392f4aab681cf8 diff --git a/tests/expectations/compiler/compiler/function/duplicate_definition_fail.leo.out b/tests/expectations/compiler/compiler/function/duplicate_definition_fail.leo.out index 3f519cf1b5..3d740f571f 100644 --- a/tests/expectations/compiler/compiler/function/duplicate_definition_fail.leo.out +++ b/tests/expectations/compiler/compiler/function/duplicate_definition_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373015]: a function named \"main\" already exists in this scope\n --> compiler-test:8:1\n |\n 8 | function main() {\n 9 | ...\n 10 | }\n | ^" diff --git a/tests/expectations/compiler/compiler/function/duplicate_parameter_fail.leo.out b/tests/expectations/compiler/compiler/function/duplicate_parameter_fail.leo.out index 3f519cf1b5..7edb1e7d52 100644 --- a/tests/expectations/compiler/compiler/function/duplicate_parameter_fail.leo.out +++ b/tests/expectations/compiler/compiler/function/duplicate_parameter_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373045]: a function input named \"a\" already exists in this scope\n --> compiler-test:3:23\n |\n 3 | function main(a: u32, a: u32) {\n | ^" diff --git a/tests/expectations/compiler/compiler/function/empty.leo.out b/tests/expectations/compiler/compiler/function/empty.leo.out index ef090731fb..0cf4e77f14 100644 --- a/tests/expectations/compiler/compiler/function/empty.leo.out +++ b/tests/expectations/compiler/compiler/function/empty.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: cab7d9499f0129277addc5a322ee12374593a292749c88220555b8ec73a0855a + imports_resolved_ast: cab7d9499f0129277addc5a322ee12374593a292749c88220555b8ec73a0855a + canonicalized_ast: e95711f5d76b04852f206614b42e6e38cc83b307d617e4eaaca8ade4c65e1c7b + type_inferenced_ast: fede77484a950576c3362c642eb3225e51c7a1ad0998950eb77cdd66630f92de diff --git a/tests/expectations/compiler/compiler/function/iteration.leo.out b/tests/expectations/compiler/compiler/function/iteration.leo.out index ef090731fb..07abe01cec 100644 --- a/tests/expectations/compiler/compiler/function/iteration.leo.out +++ b/tests/expectations/compiler/compiler/function/iteration.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: a608123169470d0c7e940599945a527f8516b010c900464bc649db94167ee6e0 + imports_resolved_ast: a608123169470d0c7e940599945a527f8516b010c900464bc649db94167ee6e0 + canonicalized_ast: 721cf0941964bdfd4835cb367fa7c472ad612ad214686ce4ca7f264faf43b0fd + type_inferenced_ast: ff52c35a361f5669d3f9ba5ec58b740c190bb3737a8e2e0485d41f8ace63a7d4 diff --git a/tests/expectations/compiler/compiler/function/iteration_repeated.leo.out b/tests/expectations/compiler/compiler/function/iteration_repeated.leo.out index ef090731fb..6050614409 100644 --- a/tests/expectations/compiler/compiler/function/iteration_repeated.leo.out +++ b/tests/expectations/compiler/compiler/function/iteration_repeated.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 45b332b088617597f7367003f3cf7c6bf00a69a490f2c64eed1e622eb099d2b6 + imports_resolved_ast: 45b332b088617597f7367003f3cf7c6bf00a69a490f2c64eed1e622eb099d2b6 + canonicalized_ast: 71c61b47872ad3a5e9724e6d7bcb315eb06f00234bcbb2ab801861f9561bc9ff + type_inferenced_ast: 038d42871e44b9d120c49d4465ebf2551af030799827c08363c0a032f3ba712e diff --git a/tests/expectations/compiler/compiler/function/multiple_returns.leo.out b/tests/expectations/compiler/compiler/function/multiple_returns.leo.out index ef090731fb..24c8f41281 100644 --- a/tests/expectations/compiler/compiler/function/multiple_returns.leo.out +++ b/tests/expectations/compiler/compiler/function/multiple_returns.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: c43d366baa8a13cae723e98783ec3afc4efd25da0e9c075b2719af866c142c31 + imports_resolved_ast: c43d366baa8a13cae723e98783ec3afc4efd25da0e9c075b2719af866c142c31 + canonicalized_ast: c43d366baa8a13cae723e98783ec3afc4efd25da0e9c075b2719af866c142c31 + type_inferenced_ast: cd99ea6925a98417f259aa058291494bb866060239e6c36715960f75f1497c2a diff --git a/tests/expectations/compiler/compiler/function/multiple_returns_fail.leo.out b/tests/expectations/compiler/compiler/function/multiple_returns_fail.leo.out index 3f519cf1b5..6b1a084492 100644 --- a/tests/expectations/compiler/compiler/function/multiple_returns_fail.leo.out +++ b/tests/expectations/compiler/compiler/function/multiple_returns_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373034]: function 'main' failed to validate return path: 'cannot have asymmetrical return in if statement'\n --> compiler-test:4:5\n |\n 4 | if true {\n 5 | ...\n 6 | }\n | ^" diff --git a/tests/expectations/compiler/compiler/function/multiple_returns_fail_conditional.leo.out b/tests/expectations/compiler/compiler/function/multiple_returns_fail_conditional.leo.out index 3f519cf1b5..a7586b72b2 100644 --- a/tests/expectations/compiler/compiler/function/multiple_returns_fail_conditional.leo.out +++ b/tests/expectations/compiler/compiler/function/multiple_returns_fail_conditional.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373033]: function 'main' missing return for all paths\n --> compiler-test:3:1\n |\n 3 | function main() -> bool {\n 4 | ...\n 5 | ...\n 6 | ...\n 7 | ...\n 8 | ...\n 9 | ...\n 10 | ...\n 11 | }\n | ^" diff --git a/tests/expectations/compiler/compiler/function/multiple_returns_main.leo.out b/tests/expectations/compiler/compiler/function/multiple_returns_main.leo.out index ef090731fb..48df2bb219 100644 --- a/tests/expectations/compiler/compiler/function/multiple_returns_main.leo.out +++ b/tests/expectations/compiler/compiler/function/multiple_returns_main.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 2 + num_constraints: 2 + at: 401937c524c61a28b4fab76d7a1f85bb628850012af62362a0922610372faf92 + bt: cdf9a9cee4f2edf55111a95ae60bde9801080f6bde638a5c79273a39a2f9f7f5 + ct: 643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + r1: + type: bool + value: "true" + initial_ast: f8b2853c4b5db8f5e8402455ceae54d8ae421c4b950d15fc88fe9f9c9a9701b8 + imports_resolved_ast: f8b2853c4b5db8f5e8402455ceae54d8ae421c4b950d15fc88fe9f9c9a9701b8 + canonicalized_ast: f8b2853c4b5db8f5e8402455ceae54d8ae421c4b950d15fc88fe9f9c9a9701b8 + type_inferenced_ast: 8a3cbc4e3f51c432179167c22247efecc49afe8990c5b2e5a1eb757d0f5adad9 diff --git a/tests/expectations/compiler/compiler/function/newlines.leo.out b/tests/expectations/compiler/compiler/function/newlines.leo.out index ef090731fb..f786c38c0d 100644 --- a/tests/expectations/compiler/compiler/function/newlines.leo.out +++ b/tests/expectations/compiler/compiler/function/newlines.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 64 + num_constraints: 64 + at: 2517dbbd3bc6f74f73a279bfe223141cdef8fce801edcc2972d568a815e43bcd + bt: 3a136bbbffaef5f4563e06a03444cfe5c512767d8c88a8be5b39034e18fe0081 + ct: 60e36dc4bc844fe8285371cf70c955b79990f094bc50b3401dcac4cbede63e8d + output: + - input_file: input/integers.in + output: + registers: + a: + type: u32 + value: "0" + b: + type: u32 + value: "0" + initial_ast: 659826ae1cff74192eca6a5936459d0ec78b73a389516602b4d04cf6b80b1004 + imports_resolved_ast: 659826ae1cff74192eca6a5936459d0ec78b73a389516602b4d04cf6b80b1004 + canonicalized_ast: 659826ae1cff74192eca6a5936459d0ec78b73a389516602b4d04cf6b80b1004 + type_inferenced_ast: 9b105138d6298e591c2882c5162f18c4f0dc223ab4128e09ce35b44ad14d2269 diff --git a/tests/expectations/compiler/compiler/function/repeated.leo.out b/tests/expectations/compiler/compiler/function/repeated.leo.out index ef090731fb..194613e53c 100644 --- a/tests/expectations/compiler/compiler/function/repeated.leo.out +++ b/tests/expectations/compiler/compiler/function/repeated.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 46f6995392feecd25891b21595f4c575527c5d589d2fe9da94c6ac4bf8e9e7ea + imports_resolved_ast: 46f6995392feecd25891b21595f4c575527c5d589d2fe9da94c6ac4bf8e9e7ea + canonicalized_ast: 46f6995392feecd25891b21595f4c575527c5d589d2fe9da94c6ac4bf8e9e7ea + type_inferenced_ast: 06a0c346db5203f1f3db18eff7c5cf26f6f82aba1ff8b5696bdce5df09dd1b28 diff --git a/tests/expectations/compiler/compiler/function/return.leo.out b/tests/expectations/compiler/compiler/function/return.leo.out index ef090731fb..5a31d2fb98 100644 --- a/tests/expectations/compiler/compiler/function/return.leo.out +++ b/tests/expectations/compiler/compiler/function/return.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e90708076fd49dc98d0de821c59d48efbf93b106e50fb43c10583a29b2c34336 + imports_resolved_ast: e90708076fd49dc98d0de821c59d48efbf93b106e50fb43c10583a29b2c34336 + canonicalized_ast: e90708076fd49dc98d0de821c59d48efbf93b106e50fb43c10583a29b2c34336 + type_inferenced_ast: de9f76b0880df3267d0031ecf46d21907a338ef64455ffac3aaf3ef6111148f6 diff --git a/tests/expectations/compiler/compiler/function/return_array_nested_fail.leo.out b/tests/expectations/compiler/compiler/function/return_array_nested_fail.leo.out index 3f519cf1b5..0aca9e37e9 100644 --- a/tests/expectations/compiler/compiler/function/return_array_nested_fail.leo.out +++ b/tests/expectations/compiler/compiler/function/return_array_nested_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 3', received: 'array of length 2'\n --> compiler-test:4:12\n |\n 4 | return [0u8; (2, 3)]; // The correct 3x2 array tuple is `[0u8; (3, 2)]`\n | ^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/function/return_array_nested_pass.leo.out b/tests/expectations/compiler/compiler/function/return_array_nested_pass.leo.out index ef090731fb..046e409de6 100644 --- a/tests/expectations/compiler/compiler/function/return_array_nested_pass.leo.out +++ b/tests/expectations/compiler/compiler/function/return_array_nested_pass.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e6ef0c39821512fd98748cd7d9da04102fff12d3f9332aeb815b36870a3ff0c5 + imports_resolved_ast: e6ef0c39821512fd98748cd7d9da04102fff12d3f9332aeb815b36870a3ff0c5 + canonicalized_ast: ed7a3f6a24fa1a3a9e7b4cc8c97ce09440fb9d46123a4e310e44afb58a1a1de6 + type_inferenced_ast: a0aa0fb8a603954c8370d3520394910163acb807ec344d14b6a26f14f2912262 diff --git a/tests/expectations/compiler/compiler/function/return_array_tuple_fail.leo.out b/tests/expectations/compiler/compiler/function/return_array_tuple_fail.leo.out index 3f519cf1b5..231dbf0254 100644 --- a/tests/expectations/compiler/compiler/function/return_array_tuple_fail.leo.out +++ b/tests/expectations/compiler/compiler/function/return_array_tuple_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'array of length 3', received: 'array of length 2'\n --> compiler-test:4:12\n |\n 4 | return [[0u8; 3]; 2]; // The correct 3x2 nested array is `[0u8; 2]; 3]`\n | ^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/function/return_array_tuple_pass.leo.out b/tests/expectations/compiler/compiler/function/return_array_tuple_pass.leo.out index ef090731fb..b11f8bf73b 100644 --- a/tests/expectations/compiler/compiler/function/return_array_tuple_pass.leo.out +++ b/tests/expectations/compiler/compiler/function/return_array_tuple_pass.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: eb9e4ceedbd5812235005bd1f6b113fb8558b59f87acb3df796ff08b15ec14ca + imports_resolved_ast: eb9e4ceedbd5812235005bd1f6b113fb8558b59f87acb3df796ff08b15ec14ca + canonicalized_ast: 9d46523fc611325b41481c2084e8eb9215573cc46d69b8aa5082bc9489bd9f44 + type_inferenced_ast: 0f025d6f74e4ca27c52316acd2efcb4cc4158d1ba9ea6f79a46f4e417b918173 diff --git a/tests/expectations/compiler/compiler/function/return_tuple.leo.out b/tests/expectations/compiler/compiler/function/return_tuple.leo.out index ef090731fb..7d3dd37c72 100644 --- a/tests/expectations/compiler/compiler/function/return_tuple.leo.out +++ b/tests/expectations/compiler/compiler/function/return_tuple.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 65 + num_constraints: 66 + at: 0c8cb242ee3815f5ea6fdd08873577a6cc51fcfbda8cb5671f0b4dc851939d07 + bt: 32bbce55a7ed95a5b0277ef5ddfa171ad065c5c7c743031d8b0bd8e50e51b0af + ct: 1390f763c4329cb5c51853b83d8d5d6e92d8ea8fed8fc7299285908d14c9d3b4 + output: + - input_file: tuple.in + output: + registers: + r0: + type: "(u8, u8)" + value: "(1, 2)" + r1: + type: u32 + value: "103" + initial_ast: 3818078d8b7b34d11b38a9e53d326543a357f4db169acc32a52e2b08a8126602 + imports_resolved_ast: 3818078d8b7b34d11b38a9e53d326543a357f4db169acc32a52e2b08a8126602 + canonicalized_ast: 3818078d8b7b34d11b38a9e53d326543a357f4db169acc32a52e2b08a8126602 + type_inferenced_ast: 3eb5fbe370ce358e9d00865a230bb5eb6f2cfdb85f30408a164da43dfe16277d diff --git a/tests/expectations/compiler/compiler/function/return_tuple_conditional.leo.out b/tests/expectations/compiler/compiler/function/return_tuple_conditional.leo.out index ef090731fb..0d26ed29e9 100644 --- a/tests/expectations/compiler/compiler/function/return_tuple_conditional.leo.out +++ b/tests/expectations/compiler/compiler/function/return_tuple_conditional.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 130 + num_constraints: 132 + at: 7836d2e1325fb4703563ba9378382f72310a39dff412635938abf6aa59e3e316 + bt: ba2c8bf85cf2734ed977cbe9aa29422a1e6f91a3ac9384a66de46152c5a0dae9 + ct: d3a10973b5ff8e5b494994d909dc9de72e93f8a9d2de5fd5fca1cd3a4a9e1e77 + output: + - input_file: input/integers.in + output: + registers: + a: + type: u32 + value: "1" + b: + type: u32 + value: "1" + initial_ast: 6fc23eeb1a55273b0089acff714d6eb2952c3380c262d8e577c123659e501553 + imports_resolved_ast: 6fc23eeb1a55273b0089acff714d6eb2952c3380c262d8e577c123659e501553 + canonicalized_ast: 6fc23eeb1a55273b0089acff714d6eb2952c3380c262d8e577c123659e501553 + type_inferenced_ast: 43750961183eda5acb2302e5a9d9daf2809ee2f34d6ed53ec6494c867d0788a8 diff --git a/tests/expectations/compiler/compiler/function/scope_fail.leo.out b/tests/expectations/compiler/compiler/function/scope_fail.leo.out index 3f519cf1b5..194746f3ae 100644 --- a/tests/expectations/compiler/compiler/function/scope_fail.leo.out +++ b/tests/expectations/compiler/compiler/function/scope_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373027]: failed to resolve variable reference 'myGlobal'\n --> compiler-test:5:12\n |\n 5 | return myGlobal;\n | ^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/function/undefined.leo.out b/tests/expectations/compiler/compiler/function/undefined.leo.out index 3f519cf1b5..8af5ccb5a9 100644 --- a/tests/expectations/compiler/compiler/function/undefined.leo.out +++ b/tests/expectations/compiler/compiler/function/undefined.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373023]: failed to resolve function: 'my_function'\n --> compiler-test:5:5\n |\n 5 | my_function();\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/function/value_unchanged.leo.out b/tests/expectations/compiler/compiler/function/value_unchanged.leo.out index ef090731fb..91e5ab153c 100644 --- a/tests/expectations/compiler/compiler/function/value_unchanged.leo.out +++ b/tests/expectations/compiler/compiler/function/value_unchanged.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d70652e4acf04c7036a90f79e5bd61b60d37c2198fcccff97a9033f5bf3c9a1b + imports_resolved_ast: d70652e4acf04c7036a90f79e5bd61b60d37c2198fcccff97a9033f5bf3c9a1b + canonicalized_ast: ca06a00411c276665b7f9cab072e87bb6c4225406aa58703ace0c9db33c4535d + type_inferenced_ast: 830057c5a032606c73f38792b8efcc8bd99f7e167482875715cd3db538bcd8f1 diff --git a/tests/expectations/compiler/compiler/global_consts/global_const_types.leo.out b/tests/expectations/compiler/compiler/global_consts/global_const_types.leo.out index ef090731fb..1f8e049ff5 100644 --- a/tests/expectations/compiler/compiler/global_consts/global_const_types.leo.out +++ b/tests/expectations/compiler/compiler/global_consts/global_const_types.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 95 + num_constraints: 95 + at: 8db8901199024f620eff3a2a9d95e74862d07f8413a6fef789347f012de915ce + bt: 134fe0b804695f759f665fe6754e85dc3556cb7c4fd7fca0e78ed2f55d048873 + ct: 8770257f9e15fb2972e7ca01e77f3d4d0303033d75d9e990b7065a3096ce9cfb + output: + - input_file: globals.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: b4e5073c07791c4726b69f3e60ec66ccebefb7a3811f4a3576fc4042f8c80114 + imports_resolved_ast: b4e5073c07791c4726b69f3e60ec66ccebefb7a3811f4a3576fc4042f8c80114 + canonicalized_ast: 03a4e0ffc6deea9c6500a9d91eb683a780e8f5961801bea1aab26c14e4543325 + type_inferenced_ast: 66d0a55ff2ab6931d5806dcbb2ff23f9dbc41a883f19a45af8a41d3be84e136d diff --git a/tests/expectations/compiler/compiler/global_consts/modify_global_const.leo.out b/tests/expectations/compiler/compiler/global_consts/modify_global_const.leo.out index 3f519cf1b5..5c6cabd3d7 100644 --- a/tests/expectations/compiler/compiler/global_consts/modify_global_const.leo.out +++ b/tests/expectations/compiler/compiler/global_consts/modify_global_const.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373032]: illegal assignment to immutable variable 'basic'\n --> compiler-test:7:5\n |\n 7 | basic = 2u32;\n | ^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/import_dependency/tests/import_dependency_folder.leo.out b/tests/expectations/compiler/compiler/import_dependency/tests/import_dependency_folder.leo.out index ef090731fb..7e534a8e9f 100644 --- a/tests/expectations/compiler/compiler/import_dependency/tests/import_dependency_folder.leo.out +++ b/tests/expectations/compiler/compiler/import_dependency/tests/import_dependency_folder.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 879c62f85e5eb066be85524e22d73775a649468ee2d42ff96451abefc1529b28 + imports_resolved_ast: d9bba4501a505c68c5256e0f8177a490126f99945c3f53c42471b466ec0e6377 + canonicalized_ast: cec8aa804ed735a7cf6504445621c5d5fdc214366e665aaf1e8b3d6e5ee1ff75 + type_inferenced_ast: 909a8409502b79921a81e425ca9e748a69411ac5ad0c809249b9b82d635a8533 diff --git a/tests/expectations/compiler/compiler/import_local/import_all.leo.out b/tests/expectations/compiler/compiler/import_local/import_all.leo.out index ef090731fb..9e299f3691 100644 --- a/tests/expectations/compiler/compiler/import_local/import_all.leo.out +++ b/tests/expectations/compiler/compiler/import_local/import_all.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6e689aa459b9ea2fa0c18c9dc0f2512db9d430f5c7101cb3104a275711d60210 + imports_resolved_ast: c4260b58a631ee77b0492ba1354182b2c95d260dcf01a62e2a0797eb5f268478 + canonicalized_ast: 7e2eaf52ce5c79242b44357609ab667df411190bf7a11228d240c314f0ce0502 + type_inferenced_ast: be897b5b17a946c2595afcc8a802df5fa4e013ba3acb4159a0123d7cf1941544 diff --git a/tests/expectations/compiler/compiler/import_local/import_as.leo.out b/tests/expectations/compiler/compiler/import_local/import_as.leo.out index ef090731fb..c31d7c3d2f 100644 --- a/tests/expectations/compiler/compiler/import_local/import_as.leo.out +++ b/tests/expectations/compiler/compiler/import_local/import_as.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 411dd9625db7686b2cdc3546042b29bc1e51d023b14b0b8397c22bb4db825a77 + imports_resolved_ast: 3dfd262969fe1c4bd78e4deb971f29b5afa64b540ef60c0a892399ba9f9d20be + canonicalized_ast: e7d378e3ff24b63d8a6ec0e2ae1c30148ed9f2028eb80bcf224d55efa3303fd1 + type_inferenced_ast: d98bff9e38944b9423e8bf2b463d081920d079db600cc8eec3a4d6ba96716745 diff --git a/tests/expectations/compiler/compiler/import_local/import_dir.leo.out b/tests/expectations/compiler/compiler/import_local/import_dir.leo.out index ef090731fb..c672b24d18 100644 --- a/tests/expectations/compiler/compiler/import_local/import_dir.leo.out +++ b/tests/expectations/compiler/compiler/import_local/import_dir.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 105b64dc1443f190ae9034a4b1f0a7c4fbbb104482aed9b7b843c19d16b3aaa0 + imports_resolved_ast: e7a789c2f6fb7b5c5fdbb5760cd9700ff256985c860df18e7f30dc5df4d392cf + canonicalized_ast: f62ac8e2461d1ba60ecb95399945f0a22999bbac751c56927f505f75138b90c2 + type_inferenced_ast: 3cb02077dd4fffa806a72c61dacca999d404821c3301ea52d2854d86fa65c20a diff --git a/tests/expectations/compiler/compiler/import_local/import_files.leo.out b/tests/expectations/compiler/compiler/import_local/import_files.leo.out index ef090731fb..81bd6d66e8 100644 --- a/tests/expectations/compiler/compiler/import_local/import_files.leo.out +++ b/tests/expectations/compiler/compiler/import_local/import_files.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 17ec836ed9b5f45fbf2b55fc9f7ae5c75d59902113f3e099141b3acbcf9ccb11 + imports_resolved_ast: ad65dc58d894dad3f8ff60db45610e89f7b7a9ca8bad1bba405d4fbe9b29f240 + canonicalized_ast: 9164f55bdd309c60e5d7cd5842aeb10227fb61884639c7661811b1be9cb134fe + type_inferenced_ast: 741f2ae43a36b8775a733aaaf736ae7df67ec0b8e57bb94425710760b8459d31 diff --git a/tests/expectations/compiler/compiler/import_local/import_many.leo.out b/tests/expectations/compiler/compiler/import_local/import_many.leo.out index ef090731fb..551b30394a 100644 --- a/tests/expectations/compiler/compiler/import_local/import_many.leo.out +++ b/tests/expectations/compiler/compiler/import_local/import_many.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ae6826642faa492e34507695dbd11e5b44c319aecb0b1e78b29ce03ae446d907 + imports_resolved_ast: e08b138c63ede9de6e090e6b7fbcfbbc27a1ae49b032a6cffcafaa8f76410839 + canonicalized_ast: e08b138c63ede9de6e090e6b7fbcfbbc27a1ae49b032a6cffcafaa8f76410839 + type_inferenced_ast: b311680f4429cc16661f774b0547936be148a3dd9f478013adefe575629b88fa diff --git a/tests/expectations/compiler/compiler/import_local/import_weird_names.leo.out b/tests/expectations/compiler/compiler/import_local/import_weird_names.leo.out index ef090731fb..8932b70d43 100644 --- a/tests/expectations/compiler/compiler/import_local/import_weird_names.leo.out +++ b/tests/expectations/compiler/compiler/import_local/import_weird_names.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 41aa6d44d33c491b1f66bb2e3d8a6882b43822b211e3e2ac8add332be00535fb + imports_resolved_ast: 1e06d16faa2b57dfac9628bdb7d288a24b8cdaeed152b0bb1c1bbcfdbd54dd72 + canonicalized_ast: 1e06d16faa2b57dfac9628bdb7d288a24b8cdaeed152b0bb1c1bbcfdbd54dd72 + type_inferenced_ast: 27a376c64ada78a53a328326b0a5592bf683dc036cf1a3f5a15621405678a427 diff --git a/tests/expectations/compiler/compiler/import_local/import_weird_names_nested.leo.out b/tests/expectations/compiler/compiler/import_local/import_weird_names_nested.leo.out index ef090731fb..acb4a60b7e 100644 --- a/tests/expectations/compiler/compiler/import_local/import_weird_names_nested.leo.out +++ b/tests/expectations/compiler/compiler/import_local/import_weird_names_nested.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: bb86f336b58de89c79741628133e6aa997f3f49a6f066b8c054261e91e3f18a8 + imports_resolved_ast: 1fe862bf85cf0c88ce3c52066118d544f367984dbe97665b2719281de15c449c + canonicalized_ast: 1fe862bf85cf0c88ce3c52066118d544f367984dbe97665b2719281de15c449c + type_inferenced_ast: d8f6f5bde53232553d1ff891e7f78823645d9a8984139d06409cb2ccde562e76 diff --git a/tests/expectations/compiler/compiler/input_files/program_input/const_input_non_const.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/const_input_non_const.leo.out index 3f519cf1b5..a93d0799e0 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/const_input_non_const.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/const_input_non_const.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376029]: Expected input variable `a` to be non-constant. Move input variable `a` to [main] section of input file\n --> compiler-test:3:15\n |\n 3 | function main(a: u32) {\n | ^" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/const_var_in_both_sections_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/const_var_in_both_sections_fail.leo.out index 3f519cf1b5..fff9ee336c 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/const_var_in_both_sections_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/const_var_in_both_sections_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376035]: Input variable a declared twice\n --> compiler-test:3:21\n |\n 3 | function main(const a: u32) {\n | ^" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/different_types_const_signed_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/different_types_const_signed_fail.leo.out index 3f519cf1b5..995afe29e0 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/different_types_const_signed_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/different_types_const_signed_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - aborting due to syntax error diff --git a/tests/expectations/compiler/compiler/input_files/program_input/different_types_const_unsigned_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/different_types_const_unsigned_fail.leo.out index 3f519cf1b5..995afe29e0 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/different_types_const_unsigned_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/different_types_const_unsigned_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - aborting due to syntax error diff --git a/tests/expectations/compiler/compiler/input_files/program_input/different_types_fail_signed.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/different_types_fail_signed.leo.out index 3f519cf1b5..995afe29e0 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/different_types_fail_signed.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/different_types_fail_signed.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - aborting due to syntax error diff --git a/tests/expectations/compiler/compiler/input_files/program_input/different_types_unsigned_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/different_types_unsigned_fail.leo.out index 3f519cf1b5..995afe29e0 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/different_types_unsigned_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/different_types_unsigned_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - aborting due to syntax error diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main.leo.out index ef090731fb..718b98b089 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e729490bdc66ccc317a772b7ccc583a24a5de9dddf0c9d5b1f3eef8623e6a569 + imports_resolved_ast: e729490bdc66ccc317a772b7ccc583a24a5de9dddf0c9d5b1f3eef8623e6a569 + canonicalized_ast: e729490bdc66ccc317a772b7ccc583a24a5de9dddf0c9d5b1f3eef8623e6a569 + type_inferenced_ast: 05f1d5a501376bbcbfac394be538319ab70e516dd9d3b2d7261f840c5c9e5d8d diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_array.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_array.leo.out index ef090731fb..870a57e321 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_array.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_array.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 31 + num_constraints: 31 + at: 9dbf37472d7a01111bf49d73870895e1669fce2d7c86d19fa1cd9bf97102c34a + bt: 51c5020146972aaa76ab053686ae5364f63ce6185620eba3780cf86581f29cfe + ct: e02be0defc1d4e9bfd935093780a8693b624228f7dc2501ac1f065af2eee9bc8 + output: + - input_file: input/main_array.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ded49ef329b1c709191a4f6d85c43787e7091b82eb5813f618bf377e7c27a47c + imports_resolved_ast: ded49ef329b1c709191a4f6d85c43787e7091b82eb5813f618bf377e7c27a47c + canonicalized_ast: ded49ef329b1c709191a4f6d85c43787e7091b82eb5813f618bf377e7c27a47c + type_inferenced_ast: 5f12b94ae74deaac2dcc82ae1ee611bd1d1e837a2211722a11cc904790aa4d60 diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_array_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_array_fail.leo.out index 3f519cf1b5..97ab65d88b 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_array_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_array_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376031]: Input array dimensions mismatch expected 1, found array dimensions 2\n --> compiler-test:3:15\n |\n 3 | function main(x: [i16; 2]) {\n | ^" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_char.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_char.leo.out index ef090731fb..79d5ab3f9b 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_char.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_char.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 6 + num_constraints: 5 + at: a92e6894c8f239ebb17b299d1e49ef48d0c2a8690c56eb1362550ebeeb16a507 + bt: 8f725e0070f28462aac3db98a5282a9ffa8139f0103651a30df68d193419eacd + ct: 6d17d0577f11cb480fd832f84c38611e836e8aa93457407aa17c07c6ef9d3e03 + output: + - input_file: input/main_char.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 28776a06ced3fbb9476dd3abdca0d6d5444c621c26b6883f07d03f2d437677b7 + imports_resolved_ast: 28776a06ced3fbb9476dd3abdca0d6d5444c621c26b6883f07d03f2d437677b7 + canonicalized_ast: 28776a06ced3fbb9476dd3abdca0d6d5444c621c26b6883f07d03f2d437677b7 + type_inferenced_ast: 2bca0f0f14ac8d4eb281b8ce8d612c15a4209b765b68140b5a4b7efefdec5eea diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_field.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_field.leo.out index ef090731fb..0dbd0e966a 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_field.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_field.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 6 + num_constraints: 5 + at: ab475a59a3c7d4299665005e00fe7232cd3ea2238493f31211c33f3057e3c1d7 + bt: 691f0be87cb1ac6a001269af3d7dbe2c860290538950dc921f318ccf2f319d66 + ct: 6d17d0577f11cb480fd832f84c38611e836e8aa93457407aa17c07c6ef9d3e03 + output: + - input_file: input/main_field.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: d5808d80af60a541768c6ac9f7ce7371cee9654d6f102c1fa4d9be22169d7fae + imports_resolved_ast: d5808d80af60a541768c6ac9f7ce7371cee9654d6f102c1fa4d9be22169d7fae + canonicalized_ast: d5808d80af60a541768c6ac9f7ce7371cee9654d6f102c1fa4d9be22169d7fae + type_inferenced_ast: 84667daeb71be0318df27b0172d186013b8eaae16a75a3676d7f4a6366ef9dbc diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_group.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_group.leo.out index ef090731fb..a87a815581 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_group.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_group.leo.out @@ -1,4 +1,19 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 12 + num_constraints: 9 + at: df88b362955f00b8c41afd9e31c9e41e4b8254a71ea0f3f2f97d5b6b8b767415 + bt: df58aff07b131c34e977ffb5657bbd21852f59fd7e059117c419c3c6070a7053 + ct: 335cdfb09b13172262042abccf4560511666deaa63cc1b3f30dd35dcb554840f + output: + - input_file: input/main_group.in + output: + registers: {} + initial_ast: 731684bc8e22a3bbde7816d4f9ddc4db9561244b81caff4ef23e90ab5949ef60 + imports_resolved_ast: 731684bc8e22a3bbde7816d4f9ddc4db9561244b81caff4ef23e90ab5949ef60 + canonicalized_ast: d4b3e34c002f7dd2bfb3b12b5028d44a84113e9c9a2d22d7576763cd59c7521b + type_inferenced_ast: 326c07a3eae5f211848b943adcb05103121e0b241967bfd4a545ff6f6566f699 diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_multi_dimension_array.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_multi_dimension_array.leo.out index ef090731fb..0f10b6a61a 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_multi_dimension_array.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_multi_dimension_array.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 223 + num_constraints: 223 + at: 87fe022f8971e90450cc219824d04ea84f08040429143393193aa2de0321759f + bt: 65e18f4e1e32d72f87d238401f8397b5d8ba20e7da7d50cc5930faa5673cdb77 + ct: 389354117abccc4ef9f4822705889f64f1d16b7e0d2adae52005c7b91b0ccabb + output: + - input_file: input/main_multi_dimension_array.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: f74b907c08c1bfd4d2afc9df5589bc2aed1923db5e858c5cc6046f5aed735cf2 + imports_resolved_ast: f74b907c08c1bfd4d2afc9df5589bc2aed1923db5e858c5cc6046f5aed735cf2 + canonicalized_ast: f80f2c0fd5fa415c5ca0b8295d918a884ae8590f5f9760947ca5a0513f531f73 + type_inferenced_ast: a866c7acc69cab458f8b6fe729b35cfd4fc66d578155382d130b24e2e092df8b diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_multiple.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_multiple.leo.out index ef090731fb..1f690616a0 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_multiple.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_multiple.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3 + num_constraints: 3 + at: 01e9615846575e848deea9a9802ceed188fdbfc4660f6f22de41845adcce14ac + bt: 49e8fa1fd3f85b0f486c49f194e4fff3da5e8039685fca1f3327389cbe9fc180 + ct: 7ca43d5c34997f3c866631161cb33186cc016972238c07771ae105ca1b05320d + output: + - input_file: input/main_multiple.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 094effa7fe12695679a571f560e1d3e8c299cde8de280f9309010c85f48bab95 + imports_resolved_ast: 094effa7fe12695679a571f560e1d3e8c299cde8de280f9309010c85f48bab95 + canonicalized_ast: 094effa7fe12695679a571f560e1d3e8c299cde8de280f9309010c85f48bab95 + type_inferenced_ast: ab25cb7bf7d8fe3ec64be183550ba8d6acfaf17464cf70ec45c6497fc065ac29 diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_string.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_string.leo.out index ef090731fb..0c516a8133 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_string.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_string.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 26 + num_constraints: 21 + at: b4c72e270b0067ca380a70c8cb2632c33b17e7323b3817deb04e5fe72aa99c13 + bt: d476126ef8e9588f0ed444a75f025c1c468618ae84829d4d2deb37679e537563 + ct: 789b2eca89cbf96799b7c12eaa66df8efcec7fe1c6c8af5e741fe4955c5dee32 + output: + - input_file: input/main_string.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: a2b01e8b8d8311d8a890b0e008689dc890b104d2b6fcfc82a16e1e45975ea68b + imports_resolved_ast: a2b01e8b8d8311d8a890b0e008689dc890b104d2b6fcfc82a16e1e45975ea68b + canonicalized_ast: 8774633846aa1d61e6534c0e930777ba9452aa7368116928ba1188501d30a495 + type_inferenced_ast: be4ce222d81884b156c4fd0567755685283f7502ab192fcfaf562f0b0737a2e0 diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_tuple.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_tuple.leo.out index ef090731fb..9c084bd2f6 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_tuple.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_tuple.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 33 + num_constraints: 33 + at: 16cd2aaf51f97f0d967f934facd55d3da0f128b5548ca7d9033099dabb8755aa + bt: 13ce6219d223223b0e2a5b8bab43bda704fb2509e20143c1c8dc28238c65a0c3 + ct: 1a2cc6ebebf9b0d70351fb54db6ab269bfec125b7d84dea8450ee1566d937a38 + output: + - input_file: input/main_tuple.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 01b9440246bf141fbdc27ab27f53d1b4f42415fb70a2f4d838d0a3a542fe7133 + imports_resolved_ast: 01b9440246bf141fbdc27ab27f53d1b4f42415fb70a2f4d838d0a3a542fe7133 + canonicalized_ast: 01b9440246bf141fbdc27ab27f53d1b4f42415fb70a2f4d838d0a3a542fe7133 + type_inferenced_ast: 2c84fc650ddadfb9a335688f4490156e05a5c5ea1b3ac935d8d5f2f2d3cd8c58 diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_tuple_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_tuple_fail.leo.out index 3f519cf1b5..2699fc0238 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_tuple_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_tuple_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376032]: Input tuple size mismatch expected 3, found tuple with length 2\n --> compiler-test:3:15\n |\n 3 | function main(x: (u8, bool, u8)) {\n | ^" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/non_const_input_const.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/non_const_input_const.leo.out index 3f519cf1b5..29c1c52cbb 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/non_const_input_const.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/non_const_input_const.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373024]: failed to resolve type for variable definition 'unknown'\n --> compiler-test:4:17\n |\n 4 | let b = a * 2;\n | ^" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/var_in_both_sections_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/var_in_both_sections_fail.leo.out index 3f519cf1b5..29564d375c 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/var_in_both_sections_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/var_in_both_sections_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376035]: Input variable a declared twice\n --> compiler-test:3:15\n |\n 3 | function main(a: u32) {\n | ^" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/basic.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/basic.leo.out index ef090731fb..49969669f4 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/basic.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/basic.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3 + num_constraints: 3 + at: 83b1bd5868cfd70d986276428ff81a9120e0848a6f44d7bd6d5a25d6063c7669 + bt: 5a01b0726c5b948a3b336179b77081865f51dc2f1de630ce95b03424a5ae7998 + ct: 7ca43d5c34997f3c866631161cb33186cc016972238c07771ae105ca1b05320d + output: + - input_file: input/basic.in + output: + registers: + b: + type: bool + value: "true" + initial_ast: dc7f40a1cfc4daa659784bf538f1273145b430875116ef1aad7fd778dcb5f736 + imports_resolved_ast: dc7f40a1cfc4daa659784bf538f1273145b430875116ef1aad7fd778dcb5f736 + canonicalized_ast: dc7f40a1cfc4daa659784bf538f1273145b430875116ef1aad7fd778dcb5f736 + type_inferenced_ast: f86a95c627e69d54fd6f1f651eda77cfc1ac1fab33b1ef8bbe5bf511a8c4beb7 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/token_withdraw.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/token_withdraw.leo.out index ef090731fb..b284218dd5 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/token_withdraw.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/token_withdraw.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 847 + num_constraints: 847 + at: 7a173ccf91016726958e205fb7a60e954c826a7d8f3dbfba86417c4dad8a8809 + bt: ef390629424c3ec765f6759eba6be4285e92bbb34e1fdb083ea723021fda1a83 + ct: 048882f78f795732711ba34cb6892495a782c2573a1358a9c679b97fa5ea5fe7 + output: + - input_file: input/token_withdraw.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6b051c3f9ce82efb30d3ba89764cc9c2607a126cb0cede72ad55ecda6c9d996d + imports_resolved_ast: 6b051c3f9ce82efb30d3ba89764cc9c2607a126cb0cede72ad55ecda6c9d996d + canonicalized_ast: 6b051c3f9ce82efb30d3ba89764cc9c2607a126cb0cede72ad55ecda6c9d996d + type_inferenced_ast: 3c04200d560739b0d551204b65e56abc11f26843b99aa0361362f61f0d6a3328 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main.leo.out index ef090731fb..4794c19048 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 815bdfe9a6fb4bb4795686872a62882c0a953e7a5313ef7da066b11770fcb089 + imports_resolved_ast: 815bdfe9a6fb4bb4795686872a62882c0a953e7a5313ef7da066b11770fcb089 + canonicalized_ast: 815bdfe9a6fb4bb4795686872a62882c0a953e7a5313ef7da066b11770fcb089 + type_inferenced_ast: 437a14fea047eb893748b86f8a5cedb18ae7960ea92a5075b5a215125cc27863 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array.leo.out index ef090731fb..6f82dd1cdb 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main_array.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 48d4334146fe85c3bf1cdd75bcf4bf5026e50bb04b624ddbe1fc9d0eb3e510a3 + imports_resolved_ast: 48d4334146fe85c3bf1cdd75bcf4bf5026e50bb04b624ddbe1fc9d0eb3e510a3 + canonicalized_ast: 48d4334146fe85c3bf1cdd75bcf4bf5026e50bb04b624ddbe1fc9d0eb3e510a3 + type_inferenced_ast: 90903b46ecc931e02742ad4caa7dce04f5efe18cad4260d1c9de5c29cf378a93 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array_fail.leo.out index 3f519cf1b5..2b6757d01d 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376031]: Input array dimensions mismatch expected 2, found array dimensions 1\n --> compiler-test:3:21\n |\n 3 | function main(const x: [i16; 2]) {\n | ^" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_char.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_char.leo.out index ef090731fb..1432cad627 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_char.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_char.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main_char.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 54251e3a72e7c6743344cb585df6b89aef0d5b965aa13d090e89044209bf647a + imports_resolved_ast: 54251e3a72e7c6743344cb585df6b89aef0d5b965aa13d090e89044209bf647a + canonicalized_ast: 54251e3a72e7c6743344cb585df6b89aef0d5b965aa13d090e89044209bf647a + type_inferenced_ast: b3a96fc8bbfda13b19f509c3ed5bed3908ca929219581c8d7b56bb7f81590770 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.leo.out index ef090731fb..f47c13cea4 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main_field.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 24edf3e347b161cb68d4dd19a0a56b457ee1f1668a29ad637ff22eaa0cbb384e + imports_resolved_ast: 24edf3e347b161cb68d4dd19a0a56b457ee1f1668a29ad637ff22eaa0cbb384e + canonicalized_ast: 24edf3e347b161cb68d4dd19a0a56b457ee1f1668a29ad637ff22eaa0cbb384e + type_inferenced_ast: 85af373372ad915f6633a0099e914ddc05e70f7d5fd92ad25be47c3627c68149 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.leo.out index ef090731fb..21cd56b63c 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main_group.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d6802e04fa242223923742fc9e82345b67b73138d867608c62c55999a356691d + imports_resolved_ast: d6802e04fa242223923742fc9e82345b67b73138d867608c62c55999a356691d + canonicalized_ast: d6802e04fa242223923742fc9e82345b67b73138d867608c62c55999a356691d + type_inferenced_ast: 0c53a395040f8aea133164e05ad0496f712ebd082228a635b4d181c9f4508127 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multi_dimension_array.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multi_dimension_array.leo.out index ef090731fb..4952ae0921 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multi_dimension_array.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multi_dimension_array.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 223 + num_constraints: 223 + at: 87fe022f8971e90450cc219824d04ea84f08040429143393193aa2de0321759f + bt: 65e18f4e1e32d72f87d238401f8397b5d8ba20e7da7d50cc5930faa5673cdb77 + ct: 389354117abccc4ef9f4822705889f64f1d16b7e0d2adae52005c7b91b0ccabb + output: + - input_file: input/main_multi_dimension_array.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 473f66e852f694cee2d87935eee5fe7306ee404b935515ad400a06872b124e5b + imports_resolved_ast: 473f66e852f694cee2d87935eee5fe7306ee404b935515ad400a06872b124e5b + canonicalized_ast: 13943d9f8f5fb1fc9e5f9f025d3a09bc59db16494c5c225b7e4b8a7a53893c51 + type_inferenced_ast: 95eb1672ac750fbac9e1fe689a8516c00f83108e156ddda9d6cd69003d50a222 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.leo.out index ef090731fb..8a3f5633c2 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main_multiple.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0fe6762404e0aeb23e1adaec3a6ab638b06843ecea823306f364cf1aedd4fd07 + imports_resolved_ast: 0fe6762404e0aeb23e1adaec3a6ab638b06843ecea823306f364cf1aedd4fd07 + canonicalized_ast: 0fe6762404e0aeb23e1adaec3a6ab638b06843ecea823306f364cf1aedd4fd07 + type_inferenced_ast: 94ed42f51b4f47128964754310daf696a8bcd47e3e94e23d3e90bc2132dc9682 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_string.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_string.leo.out index ef090731fb..9b1ad3623e 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_string.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_string.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main_string.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 4eee03b645a71b2cbe735305679051d2292f219f5db6ffc2bbb539188c6b377a + imports_resolved_ast: 4eee03b645a71b2cbe735305679051d2292f219f5db6ffc2bbb539188c6b377a + canonicalized_ast: 8f1fdffc6178e5375519646b43359d4e067a897c2ca2e360b67dbfc5523103d3 + type_inferenced_ast: d177e4046f5c7fde3ad62e66677db285279075784874f9961dec6a445d65278d diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple.leo.out index ef090731fb..63b0e047a4 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main_tuple.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2c4ba5703d0e1adf9d8ba82a2369531fe720fddce8da06eedb189c2a78f12b01 + imports_resolved_ast: 2c4ba5703d0e1adf9d8ba82a2369531fe720fddce8da06eedb189c2a78f12b01 + canonicalized_ast: 2c4ba5703d0e1adf9d8ba82a2369531fe720fddce8da06eedb189c2a78f12b01 + type_inferenced_ast: a75332a525dafba95c50a29eac05374ebf52b6ae7717966d15dec81ce1bd8623 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple_fail.leo.out index 3f519cf1b5..6ab90fa4b5 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376032]: Input tuple size mismatch expected 3, found tuple with length 2\n --> compiler-test:3:21\n |\n 3 | function main(const x: (u8, bool, u8)) {\n | ^" diff --git a/tests/expectations/compiler/compiler/input_files/program_registers/registers_array.leo.out b/tests/expectations/compiler/compiler/input_files/program_registers/registers_array.leo.out index ef090731fb..b6092883b1 100644 --- a/tests/expectations/compiler/compiler/input_files/program_registers/registers_array.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_registers/registers_array.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 64 + num_constraints: 64 + at: 2517dbbd3bc6f74f73a279bfe223141cdef8fce801edcc2972d568a815e43bcd + bt: 3a136bbbffaef5f4563e06a03444cfe5c512767d8c88a8be5b39034e18fe0081 + ct: 60e36dc4bc844fe8285371cf70c955b79990f094bc50b3401dcac4cbede63e8d + output: + - input_file: input/array.in + output: + registers: + r2: + type: "[[u8; 4]; 2]" + value: "\"[0, 0, 0, 0][0, 0, 0, 0]\"" + initial_ast: 010d0b94b6ddb74416025e35b34ce1c7feb5a768d8bf0f733c530f49b00f70c4 + imports_resolved_ast: 010d0b94b6ddb74416025e35b34ce1c7feb5a768d8bf0f733c530f49b00f70c4 + canonicalized_ast: 010d0b94b6ddb74416025e35b34ce1c7feb5a768d8bf0f733c530f49b00f70c4 + type_inferenced_ast: ab23cd03d09ac3221aa71d2bc7e5c6fe13fa3f9eb4293a3ae25cb739cb608bd9 diff --git a/tests/expectations/compiler/compiler/input_files/program_registers/registers_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_registers/registers_fail.leo.out index 3f519cf1b5..3fd558ebfb 100644 --- a/tests/expectations/compiler/compiler/input_files/program_registers/registers_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_registers/registers_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376037]: Mismatched types. Expected register output type `u8`, found type `bool`.\n --> compiler-test:3:1\n |\n 3 | function main() -> bool {\n 4 | ...\n 5 | }\n | ^" diff --git a/tests/expectations/compiler/compiler/input_files/program_registers/registers_pass.leo.out b/tests/expectations/compiler/compiler/input_files/program_registers/registers_pass.leo.out index ef090731fb..d6fc879e40 100644 --- a/tests/expectations/compiler/compiler/input_files/program_registers/registers_pass.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_registers/registers_pass.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 17 + num_constraints: 18 + at: 54a6bab98206b1a92fff5ae07a6838e5ec25365afa7756a58b492f7a288c8654 + bt: 322eda19d0ceaeddbc296d56bce789cf038e440fd8fbd6e118606a4248844b2c + ct: 748f424d53dc4319858b691a3c593aec6165ed4e67847b32285a436b9e2e7cc1 + output: + - input_file: input/main.in + output: + registers: + r: + type: u8 + value: "101" + initial_ast: f47238f679ee2b220452140330e99f2a6cf063be523ed8e4ce0e9d56cf806128 + imports_resolved_ast: f47238f679ee2b220452140330e99f2a6cf063be523ed8e4ce0e9d56cf806128 + canonicalized_ast: f47238f679ee2b220452140330e99f2a6cf063be523ed8e4ce0e9d56cf806128 + type_inferenced_ast: 6c62586bdcd983ee1ac3ae22b88577a5c2f0c5e5e5ed711f86c12f434917fd5f diff --git a/tests/expectations/compiler/compiler/input_files/program_state/access_all.leo.out b/tests/expectations/compiler/compiler/input_files/program_state/access_all.leo.out index ef090731fb..36e4948b29 100644 --- a/tests/expectations/compiler/compiler/input_files/program_state/access_all.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_state/access_all.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 527 + num_constraints: 527 + at: 7f6c7713392a44fa83a3fbffafd830d6e20356d72aff3d67f78c70ea5439a735 + bt: b21f2049f4ae8c11dff5de8b33d532f3ea7637bfdbd09395d056495472c1853a + ct: 096693f8f4f40acd0e3f82bd256738e157f33989bcc68a7b8eabe44e8449bbb0 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6fce132965ff40126f6175d2abe5b8598004e90cdb29c4707f7c63dbe1093474 + imports_resolved_ast: 6fce132965ff40126f6175d2abe5b8598004e90cdb29c4707f7c63dbe1093474 + canonicalized_ast: 6fce132965ff40126f6175d2abe5b8598004e90cdb29c4707f7c63dbe1093474 + type_inferenced_ast: 75cff35e24806b8a66431668c319a96e95f5106a8fe513eb53abb264beab4390 diff --git a/tests/expectations/compiler/compiler/input_files/program_state/access_state.leo.out b/tests/expectations/compiler/compiler/input_files/program_state/access_state.leo.out index ef090731fb..9ee8ceab48 100644 --- a/tests/expectations/compiler/compiler/input_files/program_state/access_state.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_state/access_state.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 511 + num_constraints: 511 + at: bb121a0b56bee9895a337644cf8ece2f09dcf9113cd75c29f9bf26d635ba6d22 + bt: 4a54bb6ffc0c9de1f8f349449b9071745f3db6985adb9b1d657e8aaa4309cc41 + ct: a0736e8c8f3bb1c39a147348754e53dfd31fd76a1df9cd9960472841bcc531df + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: a155141331da2d7bdaa11ae738d6ca2e1d62d875c872b8b8213184d989cc8baa + imports_resolved_ast: a155141331da2d7bdaa11ae738d6ca2e1d62d875c872b8b8213184d989cc8baa + canonicalized_ast: a155141331da2d7bdaa11ae738d6ca2e1d62d875c872b8b8213184d989cc8baa + type_inferenced_ast: b4969327ce0ee30ab1526ce3b2479a7bf6efa38cb9616477f854cd28b1faf61a diff --git a/tests/expectations/compiler/compiler/input_files/program_state/basic.leo.out b/tests/expectations/compiler/compiler/input_files/program_state/basic.leo.out index ef090731fb..1faa7ef6dd 100644 --- a/tests/expectations/compiler/compiler/input_files/program_state/basic.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_state/basic.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0c90e79ea8f0f5b227c498d43b8f308afb6438185fe33531617ac04b301941ce + imports_resolved_ast: 0c90e79ea8f0f5b227c498d43b8f308afb6438185fe33531617ac04b301941ce + canonicalized_ast: 0c90e79ea8f0f5b227c498d43b8f308afb6438185fe33531617ac04b301941ce + type_inferenced_ast: 8a53562f4f66ec6d9ad612558abfe45fa08c5b37943f7a46226ea7909fcf85e0 diff --git a/tests/expectations/compiler/compiler/input_files/program_state/section_invalid.leo.out b/tests/expectations/compiler/compiler/input_files/program_state/section_invalid.leo.out index 3f519cf1b5..995afe29e0 100644 --- a/tests/expectations/compiler/compiler/input_files/program_state/section_invalid.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_state/section_invalid.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - aborting due to syntax error diff --git a/tests/expectations/compiler/compiler/input_files/program_state/section_undefined.leo.out b/tests/expectations/compiler/compiler/input_files/program_state/section_undefined.leo.out index 3f519cf1b5..995afe29e0 100644 --- a/tests/expectations/compiler/compiler/input_files/program_state/section_undefined.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_state/section_undefined.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - aborting due to syntax error diff --git a/tests/expectations/compiler/compiler/input_files/program_state/visibility_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_state/visibility_fail.leo.out index 3f519cf1b5..995afe29e0 100644 --- a/tests/expectations/compiler/compiler/input_files/program_state/visibility_fail.leo.out +++ b/tests/expectations/compiler/compiler/input_files/program_state/visibility_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - aborting due to syntax error diff --git a/tests/expectations/compiler/compiler/integers/i128/add.leo.out b/tests/expectations/compiler/compiler/integers/i128/add.leo.out index ef090731fb..c636d50366 100644 --- a/tests/expectations/compiler/compiler/integers/i128/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1404 + num_constraints: 1405 + at: b738445f9fa8039b6d93543917f21faebabd70ce5f0fc95bc2b82f9a96653e78 + bt: 7d12a27b02e7c965ac1775f6711d6da181ea2a809f8bf644ab1755929013f7e4 + ct: e7b4e2f5a4e98c3a9016990ee3dd9bbf5e55e7a98e1dc3ac7d4b458ecdcdde7e + output: + - input_file: i128.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 642f93bdca1804ff63c7d74a395836b4fae13013a8a208bd8a36647a0a51a9c4 + imports_resolved_ast: 642f93bdca1804ff63c7d74a395836b4fae13013a8a208bd8a36647a0a51a9c4 + canonicalized_ast: 642f93bdca1804ff63c7d74a395836b4fae13013a8a208bd8a36647a0a51a9c4 + type_inferenced_ast: e72578824d94283a0c95b48e47d756370f3ac29b54e82648870b8f09e592665f diff --git a/tests/expectations/compiler/compiler/integers/i128/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/i128/console_assert.leo.out index ef090731fb..277e2de091 100644 --- a/tests/expectations/compiler/compiler/integers/i128/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/console_assert.leo.out @@ -1,4 +1,19 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 511 + num_constraints: 511 + at: f130bde196ac7e190b505a42dfb30c41772c4c7eafe9e7203be9222892b767ce + bt: 7ac37b347f82644239128aa66e9caf34375b1fd860069659581477883d92fb7a + ct: 3e4c7833e73f9ee37e42c796e8af7a6d417a012b776b348abedbfd317110858d + output: + - input_file: i128.in + output: + registers: {} + initial_ast: 941047af9fff3f74b6e522fe98c16108e9e9b7ec4514cff470af18a68316f614 + imports_resolved_ast: 941047af9fff3f74b6e522fe98c16108e9e9b7ec4514cff470af18a68316f614 + canonicalized_ast: ca55154cc08f628f72fd7c45e107ebf849f38c077dfe08e80082db1feee4b4ed + type_inferenced_ast: 9396147f96ed2ce2ec5b359b65ebe55d824888fb3c778b83486a4cd3b61e0785 diff --git a/tests/expectations/compiler/compiler/integers/i128/div.leo.out b/tests/expectations/compiler/compiler/integers/i128/div.leo.out index ef090731fb..5ff4b0fdf7 100644 --- a/tests/expectations/compiler/compiler/integers/i128/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 264820 + num_constraints: 330868 + at: 90e89968758ed4552073b4217621741d7471a683f004aff63679ee176690ebb4 + bt: a83224709a5d2ea9ba982fd81f35188e299590ab7ce201773857c54a39b27d93 + ct: 26d5f56acb9effc130128af10b00b426d2396e7d8962636268b3dd08ba8df5e3 + output: + - input_file: i128.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 9b5ecfc8daa3ee55e1e24a6f6e19f5a6f5c4725efabf7074bc22657f7ad89b26 + imports_resolved_ast: 9b5ecfc8daa3ee55e1e24a6f6e19f5a6f5c4725efabf7074bc22657f7ad89b26 + canonicalized_ast: 9b5ecfc8daa3ee55e1e24a6f6e19f5a6f5c4725efabf7074bc22657f7ad89b26 + type_inferenced_ast: be5f66a85fa7ae6cd81164c6da438e2e146558c9b429993d83d4177b8b5c4469 diff --git a/tests/expectations/compiler/compiler/integers/i128/eq.leo.out b/tests/expectations/compiler/compiler/integers/i128/eq.leo.out index ef090731fb..3db655c771 100644 --- a/tests/expectations/compiler/compiler/integers/i128/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/eq.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 513 + num_constraints: 513 + at: 75b34d698fc2359df51943102062181aa5ee62b84a221747dfd7f8868bf48efd + bt: c1e085f0d8047bc5b5f574ca9de7d79a0ce3b3235e3bfb83ff15aecf05ad1323 + ct: c224fec21cf5a2b24eb94033a20aeb4729d3d0cf596339145cb49ea6a44cc5d8 + output: + - input_file: i128.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 4aab7c6dbe39e04833f6a043508421d22d62b87fa931fa8940ce8af5c876cbe1 + imports_resolved_ast: 4aab7c6dbe39e04833f6a043508421d22d62b87fa931fa8940ce8af5c876cbe1 + canonicalized_ast: 4aab7c6dbe39e04833f6a043508421d22d62b87fa931fa8940ce8af5c876cbe1 + type_inferenced_ast: b4067b1b34a4f7984160a017456f026691c60f150c59c9e4817ea740c338abb7 diff --git a/tests/expectations/compiler/compiler/integers/i128/ge.leo.out b/tests/expectations/compiler/compiler/integers/i128/ge.leo.out index ef090731fb..ecf7c64027 100644 --- a/tests/expectations/compiler/compiler/integers/i128/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/ge.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 897 + num_constraints: 897 + at: 96f20d0620bc9136e98bfe583ce40c6ad4359d33c7bafe02d1e121e411b1df50 + bt: bf4203445221fa42994f563865391d625b571513cf25a20cf465fbe26647ec5d + ct: 8d7309bdb692a71de6c9efc246984ce389534e8fc31222a94d5217720c2d20e9 + output: + - input_file: i128_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i128_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: baa6a3685d6b0fce00d68e12fae11a15f8e939d1cdb6fc2742ee57f778b7da7c + imports_resolved_ast: baa6a3685d6b0fce00d68e12fae11a15f8e939d1cdb6fc2742ee57f778b7da7c + canonicalized_ast: baa6a3685d6b0fce00d68e12fae11a15f8e939d1cdb6fc2742ee57f778b7da7c + type_inferenced_ast: 406d1f28168a11a6e8404a14d80b20bdd5067823dc00b83c60d1ccf217db17f8 diff --git a/tests/expectations/compiler/compiler/integers/i128/gt.leo.out b/tests/expectations/compiler/compiler/integers/i128/gt.leo.out index ef090731fb..e3f4e3d9bf 100644 --- a/tests/expectations/compiler/compiler/integers/i128/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/gt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 897 + num_constraints: 897 + at: 98a9cad46c764246288557ee4b5ded8e4f2ca8c99e07068d8e5cfef000e22e31 + bt: 7734cf8efdd437cd881763da604d9524fca91092bda9b6fc677ff9c30fa4b3c7 + ct: 8d7309bdb692a71de6c9efc246984ce389534e8fc31222a94d5217720c2d20e9 + output: + - input_file: i128_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i128_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e2b90c71500bfbdd6d581f1f66d974507922f946f48175b82768c804ca2892f5 + imports_resolved_ast: e2b90c71500bfbdd6d581f1f66d974507922f946f48175b82768c804ca2892f5 + canonicalized_ast: e2b90c71500bfbdd6d581f1f66d974507922f946f48175b82768c804ca2892f5 + type_inferenced_ast: 1752aa11aea71f4a459400f14558caf6a523bad2885bc11f8449cc25af81715c diff --git a/tests/expectations/compiler/compiler/integers/i128/le.leo.out b/tests/expectations/compiler/compiler/integers/i128/le.leo.out index ef090731fb..c80c011dda 100644 --- a/tests/expectations/compiler/compiler/integers/i128/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/le.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 897 + num_constraints: 897 + at: e7341bd3736199176968e0d217b64de1913590fe3c69e32c4a398014df18f20f + bt: 78d5b43e2c7d048af797f16a430d0ce5b99f8305fb1dbd0c7a0a6f36cbd6b046 + ct: 8d7309bdb692a71de6c9efc246984ce389534e8fc31222a94d5217720c2d20e9 + output: + - input_file: i128_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i128_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 8753b11c3aca4b8feb1be18420840b4c9de9ddcb07d089ed2f5f4c384afc204a + imports_resolved_ast: 8753b11c3aca4b8feb1be18420840b4c9de9ddcb07d089ed2f5f4c384afc204a + canonicalized_ast: 8753b11c3aca4b8feb1be18420840b4c9de9ddcb07d089ed2f5f4c384afc204a + type_inferenced_ast: 79b296585b1e4ce4b1e9b3e29180ebfa06f7892d553d31a1f148e952f46ce768 diff --git a/tests/expectations/compiler/compiler/integers/i128/lt.leo.out b/tests/expectations/compiler/compiler/integers/i128/lt.leo.out index ef090731fb..43e665808f 100644 --- a/tests/expectations/compiler/compiler/integers/i128/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 897 + num_constraints: 897 + at: 9164a7c32351fa140180bb6aedc74fc291dde69bbff2b1e9c2191b3d155356dd + bt: 9a46d23879218b3aa9d5b6575fc677aca1f7470b3b4e623a26f410a38200661b + ct: 8d7309bdb692a71de6c9efc246984ce389534e8fc31222a94d5217720c2d20e9 + output: + - input_file: i128_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i128_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ff20432be7beb83e5e5b022eef93d6ea0ef262fb834ce0eef5633c1db97abe03 + imports_resolved_ast: ff20432be7beb83e5e5b022eef93d6ea0ef262fb834ce0eef5633c1db97abe03 + canonicalized_ast: ff20432be7beb83e5e5b022eef93d6ea0ef262fb834ce0eef5633c1db97abe03 + type_inferenced_ast: 5a43f0e27448024f978e71e784a16071cccbe7d8bf666ce7c42653e593244249 diff --git a/tests/expectations/compiler/compiler/integers/i128/max.leo.out b/tests/expectations/compiler/compiler/integers/i128/max.leo.out index ef090731fb..c77d9b0f0c 100644 --- a/tests/expectations/compiler/compiler/integers/i128/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 48a298fe2f4f2855ad2f9e089cfbc6749ee6f8f95f81ca9a97360f331aaae1fb + imports_resolved_ast: 48a298fe2f4f2855ad2f9e089cfbc6749ee6f8f95f81ca9a97360f331aaae1fb + canonicalized_ast: 48a298fe2f4f2855ad2f9e089cfbc6749ee6f8f95f81ca9a97360f331aaae1fb + type_inferenced_ast: 5f10c4f16a11b966282e2484c7f243a794f2c1a2377be993b694080434791ff6 diff --git a/tests/expectations/compiler/compiler/integers/i128/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/i128/max_fail.leo.out index 3f519cf1b5..dcf61b19c0 100644 --- a/tests/expectations/compiler/compiler/integers/i128/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '170141183460469231731687303715884105728'\n --> compiler-test:4:21\n |\n 4 | const a: i128 = 170141183460469231731687303715884105728;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/i128/min.leo.out b/tests/expectations/compiler/compiler/integers/i128/min.leo.out index ef090731fb..f1a1a00980 100644 --- a/tests/expectations/compiler/compiler/integers/i128/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 7607f334bcc8676c2276fc9c0950437719631f6d7221e1f3288a4f144096fa0d + imports_resolved_ast: 7607f334bcc8676c2276fc9c0950437719631f6d7221e1f3288a4f144096fa0d + canonicalized_ast: 7607f334bcc8676c2276fc9c0950437719631f6d7221e1f3288a4f144096fa0d + type_inferenced_ast: 2d21167fca05fd5c84ab023d5fb99d8bf84f733797d01dbdf5cfb924d0aa0a26 diff --git a/tests/expectations/compiler/compiler/integers/i128/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/i128/min_fail.leo.out index 3f519cf1b5..1521d75463 100644 --- a/tests/expectations/compiler/compiler/integers/i128/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-170141183460469231731687303715884105729'\n --> compiler-test:4:21\n |\n 4 | const a: i128 = -170141183460469231731687303715884105729;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/i128/mul.leo.out b/tests/expectations/compiler/compiler/integers/i128/mul.leo.out index ef090731fb..7a8b72f486 100644 --- a/tests/expectations/compiler/compiler/integers/i128/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 393216 + num_constraints: 393217 + at: d5a0c9b374587e6c25f437a157bef0c152665743371172ba94d04e13a1a8f509 + bt: 2d0600e403e694d114c452c3e5c1ad2137e48b5344b3760dbec2e826420b8a9e + ct: 76b519a48f8267fa180bc68f3e7a84fe7319a3ad2e76338916cb399d9cea22d8 + output: + - input_file: i128.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 16a27b027b669640d3c23c1eca2db5ea3286bf3623baf9038cb28c4937e88c34 + imports_resolved_ast: 16a27b027b669640d3c23c1eca2db5ea3286bf3623baf9038cb28c4937e88c34 + canonicalized_ast: 16a27b027b669640d3c23c1eca2db5ea3286bf3623baf9038cb28c4937e88c34 + type_inferenced_ast: ab943eb3fb77eff83662d400ce152c5a27588bbecb72bba0c2f06146fc1e671b diff --git a/tests/expectations/compiler/compiler/integers/i128/ne.leo.out b/tests/expectations/compiler/compiler/integers/i128/ne.leo.out index ef090731fb..08df752694 100644 --- a/tests/expectations/compiler/compiler/integers/i128/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/ne.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 513 + num_constraints: 513 + at: 8f9d3ef916a970cb762ca6f3829a8b4897dc65d493a2ea2eb4fa812a2062fe67 + bt: edc1de9388a8bb2c659c9b4e9deecd8406826abcfe220d295bf7d85a550c0c43 + ct: c224fec21cf5a2b24eb94033a20aeb4729d3d0cf596339145cb49ea6a44cc5d8 + output: + - input_file: i128_ne.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i128_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6438b7751a9bfbc114ec061c946ab917fe196c321b6382a803e263fc131e94cf + imports_resolved_ast: 6438b7751a9bfbc114ec061c946ab917fe196c321b6382a803e263fc131e94cf + canonicalized_ast: 6438b7751a9bfbc114ec061c946ab917fe196c321b6382a803e263fc131e94cf + type_inferenced_ast: f956cebfdaffc93e04d75ec4017db28671a9ca95b46d7e46f0fe7c03921c8fcc diff --git a/tests/expectations/compiler/compiler/integers/i128/negate.leo.out b/tests/expectations/compiler/compiler/integers/i128/negate.leo.out index ef090731fb..d24af05f3a 100644 --- a/tests/expectations/compiler/compiler/integers/i128/negate.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/negate.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 765 + num_constraints: 765 + at: 46af0432868923f7cad6e7db2de33a69ccad1a789e92d552ec26f8fc19a7d33d + bt: f1167d856668e1efcd49f020430a704e62ad6e46006e7faf58acdac8bb8a5ba2 + ct: 075f6359a5dd933b671b42c06465f4c70f5ec152176c234fb4d3cdfbe6255daf + output: + - input_file: i128.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i128.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: f20c4c3491707834724e32b0bd9116e203db8e8e03bc77f14d958fff910ea7a8 + imports_resolved_ast: f20c4c3491707834724e32b0bd9116e203db8e8e03bc77f14d958fff910ea7a8 + canonicalized_ast: f20c4c3491707834724e32b0bd9116e203db8e8e03bc77f14d958fff910ea7a8 + type_inferenced_ast: 06e7d8be76d296f884f35880eb91b74b438316b04f1e189ac265ee76692da63f diff --git a/tests/expectations/compiler/compiler/integers/i128/negate_min.leo.out b/tests/expectations/compiler/compiler/integers/i128/negate_min.leo.out index ef090731fb..9e893a8160 100644 --- a/tests/expectations/compiler/compiler/integers/i128/negate_min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/negate_min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 910fc83d7c92963a426e05d43b855610cddcd68f7ca007dc83a6dae90fc12be2 + imports_resolved_ast: 910fc83d7c92963a426e05d43b855610cddcd68f7ca007dc83a6dae90fc12be2 + canonicalized_ast: 910fc83d7c92963a426e05d43b855610cddcd68f7ca007dc83a6dae90fc12be2 + type_inferenced_ast: f27e5afe0c4bf455ca2b3cc989d8659066d2f9c817741cb0d1b7e66a756dc04f diff --git a/tests/expectations/compiler/compiler/integers/i128/negate_zero.leo.out b/tests/expectations/compiler/compiler/integers/i128/negate_zero.leo.out index ef090731fb..1c085131e8 100644 --- a/tests/expectations/compiler/compiler/integers/i128/negate_zero.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/negate_zero.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 68dd2506b7582cec89325afd649b76057840759d535cedca3e4cde98efeb0877 + imports_resolved_ast: 68dd2506b7582cec89325afd649b76057840759d535cedca3e4cde98efeb0877 + canonicalized_ast: 68dd2506b7582cec89325afd649b76057840759d535cedca3e4cde98efeb0877 + type_inferenced_ast: 67b08390d952e54e77e5704a13dfcedd83f4eba2f031d8d369c5c580722e02f0 diff --git a/tests/expectations/compiler/compiler/integers/i128/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/i128/no_space_between_literal.leo.out index 3f519cf1b5..58e069fbb0 100644 --- a/tests/expectations/compiler/compiler/integers/i128/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and i128\n --> compiler-test:4:15\n |\n 4 | const i = 1 i128;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/i128/sub.leo.out b/tests/expectations/compiler/compiler/integers/i128/sub.leo.out index ef090731fb..b32c214970 100644 --- a/tests/expectations/compiler/compiler/integers/i128/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1658 + num_constraints: 1659 + at: bb46c735f0d1698aa6cf8637b23babcdf0df3ec6e64f4b2e7d3e86f6f461e961 + bt: 859297637693ebdf41005288cf212906c1d7619049b4305d34d9dededb24b5c5 + ct: 50293f70acfe4a8aadffa8b17c18b0411493c8760fc474dcdf26f5bc7d70ada4 + output: + - input_file: i128.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: bc09a92a140e879b4fe0a16156a776015e48283e90b6f1af3ab2647a9ca044ce + imports_resolved_ast: bc09a92a140e879b4fe0a16156a776015e48283e90b6f1af3ab2647a9ca044ce + canonicalized_ast: bc09a92a140e879b4fe0a16156a776015e48283e90b6f1af3ab2647a9ca044ce + type_inferenced_ast: f9b47c27d64d9bd058c7341a828c51c31fcb4bc2bdb34bd8169d53a768559859 diff --git a/tests/expectations/compiler/compiler/integers/i128/ternary.leo.out b/tests/expectations/compiler/compiler/integers/i128/ternary.leo.out index ef090731fb..716a3d3807 100644 --- a/tests/expectations/compiler/compiler/integers/i128/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/i128/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 896 + num_constraints: 1024 + at: 0830a3e788b536b36f271fadaadcc919281b2171d4e18814385b74f6820cb5c9 + bt: 1fb9bfc22c01a54c08602e7f3883c19b00de1070aa9bad9e9234e322f9043711 + ct: ee9facabe4c76f5eb89984d3c5cb15f92eaa0cc3b4bc4fdff261aeb36ad0101b + output: + - input_file: i128.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i128_rev.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 59f299e993a6a2a19cfca109677cc4d5a72db425ace34b4b55d3b8b7cb54fdfe + imports_resolved_ast: 59f299e993a6a2a19cfca109677cc4d5a72db425ace34b4b55d3b8b7cb54fdfe + canonicalized_ast: 59f299e993a6a2a19cfca109677cc4d5a72db425ace34b4b55d3b8b7cb54fdfe + type_inferenced_ast: c83d950f8244fef52d7b25a588457ad771da0f73440f4d2523ac747623cf7a3a diff --git a/tests/expectations/compiler/compiler/integers/i16/add.leo.out b/tests/expectations/compiler/compiler/integers/i16/add.leo.out index ef090731fb..abdfe2f639 100644 --- a/tests/expectations/compiler/compiler/integers/i16/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 172 + num_constraints: 173 + at: 6b89cd61c27d609100734788caaf250a61c4e65e8bb53a70cb9a67bd3970d344 + bt: 3685748e2150def12598827c6d3217b7665ad912fcf517afafed7dd933dd68a2 + ct: acefb38d2e822ba8454f989fcdcfad22e9c15b0115cebecf3ec7f842412b0812 + output: + - input_file: i16.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: a67c4ea1ac24f9da48cc18159bda3779585be4d0ff2ef7b2e36111c8e30a7095 + imports_resolved_ast: a67c4ea1ac24f9da48cc18159bda3779585be4d0ff2ef7b2e36111c8e30a7095 + canonicalized_ast: a67c4ea1ac24f9da48cc18159bda3779585be4d0ff2ef7b2e36111c8e30a7095 + type_inferenced_ast: 7d10fe70a4c3ad44ce07ae4fab3d1082d3f238757d318694f536e5b2e963c76a diff --git a/tests/expectations/compiler/compiler/integers/i16/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/i16/console_assert.leo.out index ef090731fb..822c334963 100644 --- a/tests/expectations/compiler/compiler/integers/i16/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/console_assert.leo.out @@ -1,4 +1,19 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 63 + num_constraints: 63 + at: 781fbf42db29f7fa9c21d99e21d8f011ec22b33ad26d3f80438687aafd462285 + bt: abee7b67c55170fc3341444203a9a70e68690dce751aa36d3e91f1cf7ceef73d + ct: 51c18ee4216feeb01d0b0d661dfeb294e7e100873586edf79be89c8b54d9e168 + output: + - input_file: i16.in + output: + registers: {} + initial_ast: f68bd73d5f657b880c76f678c5d8b6903aebd0701415977f5dd35009b383daaf + imports_resolved_ast: f68bd73d5f657b880c76f678c5d8b6903aebd0701415977f5dd35009b383daaf + canonicalized_ast: a1a4fada7b1c3d4e82ac1065a720c6b11fdffd4a1cf270128432e04cee150cbb + type_inferenced_ast: 18633259cef0bf8b6f58b4fdddeff2e0f212f4bfd9a3a9d2e7c8b328117ee679 diff --git a/tests/expectations/compiler/compiler/integers/i16/div.leo.out b/tests/expectations/compiler/compiler/integers/i16/div.leo.out index ef090731fb..66143f881a 100644 --- a/tests/expectations/compiler/compiler/integers/i16/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 4358 + num_constraints: 5446 + at: 285c49252166e044a1648d7cdeaa3975efca0e746efd365d2f170900157df8b9 + bt: b7dcf6f446108df31801263f54f0d504800d85f341baa945f13eb2dbbbbe4851 + ct: 6743f276428e33d909885898f76d747836254decaf153021c75df8d62b890e41 + output: + - input_file: i16.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: a0694975f2bd295505d998da6b165707f8231c8df9f046fccde58cc8f42da438 + imports_resolved_ast: a0694975f2bd295505d998da6b165707f8231c8df9f046fccde58cc8f42da438 + canonicalized_ast: a0694975f2bd295505d998da6b165707f8231c8df9f046fccde58cc8f42da438 + type_inferenced_ast: 66bbe4a003338adcacbf310ee8b26cb128175b0125523981d2378088760a321d diff --git a/tests/expectations/compiler/compiler/integers/i16/eq.leo.out b/tests/expectations/compiler/compiler/integers/i16/eq.leo.out index ef090731fb..109d08d761 100644 --- a/tests/expectations/compiler/compiler/integers/i16/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/eq.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 65 + num_constraints: 65 + at: 8c8b795ef4142f2651625b90b3624d24de5138c3fb0981288a8cc5e12bf31f82 + bt: eba2113bdda3d667d9e8c87f545fe4e2a0143b18a3fff0c1aaa46dd376ed1735 + ct: f037d279ccea3ca689e05801ec3ba0053b5ce66a1763d4620262ea9b69873008 + output: + - input_file: i16.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: b961658930719fa317e5762c0f759cccf808d0c25e4036efdc24efd3dd917145 + imports_resolved_ast: b961658930719fa317e5762c0f759cccf808d0c25e4036efdc24efd3dd917145 + canonicalized_ast: b961658930719fa317e5762c0f759cccf808d0c25e4036efdc24efd3dd917145 + type_inferenced_ast: 6e404e9ce612711f1170f49704f440a1698f61a5d830eeea3460025bd9883f29 diff --git a/tests/expectations/compiler/compiler/integers/i16/ge.leo.out b/tests/expectations/compiler/compiler/integers/i16/ge.leo.out index ef090731fb..35249b2b08 100644 --- a/tests/expectations/compiler/compiler/integers/i16/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/ge.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 113 + num_constraints: 113 + at: aacaa02fab172aad56801a9785e4265f42a5b7a8a90f3277508d9bdf9b71739e + bt: dc20f75204b1fb858e1971441f24a4aa1780e545581c55ff3d52cec41be65b79 + ct: 92784334fb47e5a53eb972ec42d95f97470117bb6839cf2d46e8fcbd38a662f9 + output: + - input_file: i16_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i16_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: af26d10d2f2a9d2c506829aec8c88fb34ae2ef681ffc4d3b8ec4b284bfdf3d9c + imports_resolved_ast: af26d10d2f2a9d2c506829aec8c88fb34ae2ef681ffc4d3b8ec4b284bfdf3d9c + canonicalized_ast: af26d10d2f2a9d2c506829aec8c88fb34ae2ef681ffc4d3b8ec4b284bfdf3d9c + type_inferenced_ast: 54cb6e5e03539e745b67bcfcd2d8175571e58747a26184d61991fd243e026efe diff --git a/tests/expectations/compiler/compiler/integers/i16/gt.leo.out b/tests/expectations/compiler/compiler/integers/i16/gt.leo.out index ef090731fb..7a4d515135 100644 --- a/tests/expectations/compiler/compiler/integers/i16/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/gt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 113 + num_constraints: 113 + at: 5c1bf4b2c0dcee44497206b68fafb1e2e98bc020688d260da3730723c0c90dd8 + bt: 07da85fcfccc58758d043e27b0aab5a749760c644824684c13befde258deb78c + ct: 92784334fb47e5a53eb972ec42d95f97470117bb6839cf2d46e8fcbd38a662f9 + output: + - input_file: i16_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i16_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 062d3eb6035e1677c45329522cbd26b8a9b5bc6d501510db6d48a47e262253e6 + imports_resolved_ast: 062d3eb6035e1677c45329522cbd26b8a9b5bc6d501510db6d48a47e262253e6 + canonicalized_ast: 062d3eb6035e1677c45329522cbd26b8a9b5bc6d501510db6d48a47e262253e6 + type_inferenced_ast: 2f160dd1d274d6efc5359b8643d33846d32e78ab5c541ed5f5c58fb42c9ea245 diff --git a/tests/expectations/compiler/compiler/integers/i16/le.leo.out b/tests/expectations/compiler/compiler/integers/i16/le.leo.out index ef090731fb..bee4bdc77f 100644 --- a/tests/expectations/compiler/compiler/integers/i16/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/le.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 113 + num_constraints: 113 + at: a38a17fb5f40313343215b604602dfb492eb06cc8ac81d7d75443663398eb105 + bt: 34c1c5f1fd258fc5f18137e0cd367a6c3149958ec8b92123518e293db31afbe3 + ct: 92784334fb47e5a53eb972ec42d95f97470117bb6839cf2d46e8fcbd38a662f9 + output: + - input_file: i16_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i16_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6680714854c32707931c35b568b4ca58e6fb30fb6d6af7dd88752712a5932295 + imports_resolved_ast: 6680714854c32707931c35b568b4ca58e6fb30fb6d6af7dd88752712a5932295 + canonicalized_ast: 6680714854c32707931c35b568b4ca58e6fb30fb6d6af7dd88752712a5932295 + type_inferenced_ast: 9933127e345e202a0e2876dd14a3443a3a104f9faae4a6428e10268f7793b66d diff --git a/tests/expectations/compiler/compiler/integers/i16/lt.leo.out b/tests/expectations/compiler/compiler/integers/i16/lt.leo.out index ef090731fb..bdbcfa8b12 100644 --- a/tests/expectations/compiler/compiler/integers/i16/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 113 + num_constraints: 113 + at: 882216b2b7d92dafe18a2ba6eefed789ba0084c92957772d0b1e3797ac391d8f + bt: 564588048812d9300963caf70148f154c231faa3209aed2ee5f9dd51a31af0ef + ct: 92784334fb47e5a53eb972ec42d95f97470117bb6839cf2d46e8fcbd38a662f9 + output: + - input_file: i16_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i16_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 763c352848bf7747e761659811842656e84bb2e5e8b31cea06ded7f6b6b79f90 + imports_resolved_ast: 763c352848bf7747e761659811842656e84bb2e5e8b31cea06ded7f6b6b79f90 + canonicalized_ast: 763c352848bf7747e761659811842656e84bb2e5e8b31cea06ded7f6b6b79f90 + type_inferenced_ast: e4f72776d8aea450005835d7e69ef1f46e0b13c18673b97709546d49216064af diff --git a/tests/expectations/compiler/compiler/integers/i16/max.leo.out b/tests/expectations/compiler/compiler/integers/i16/max.leo.out index ef090731fb..b8375ba80f 100644 --- a/tests/expectations/compiler/compiler/integers/i16/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 3683f5647eb1ba2d1999c80f2eb629a3ed5a7114e888b0282066556a2df7877b + imports_resolved_ast: 3683f5647eb1ba2d1999c80f2eb629a3ed5a7114e888b0282066556a2df7877b + canonicalized_ast: 3683f5647eb1ba2d1999c80f2eb629a3ed5a7114e888b0282066556a2df7877b + type_inferenced_ast: 0d239b14f356b7fc5b65558b1a74ac63af72e7f599d2af7d9f78bfca7d0dec06 diff --git a/tests/expectations/compiler/compiler/integers/i16/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/i16/max_fail.leo.out index 3f519cf1b5..f794128e4b 100644 --- a/tests/expectations/compiler/compiler/integers/i16/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '32768'\n --> compiler-test:4:20\n |\n 4 | const a: i16 = 32768;\n | ^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/i16/min.leo.out b/tests/expectations/compiler/compiler/integers/i16/min.leo.out index ef090731fb..6fe7c31078 100644 --- a/tests/expectations/compiler/compiler/integers/i16/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ff4a8d9a961ad3cb815e5c7fd71f32c2071b802fcec05e4768fced1f66c52d35 + imports_resolved_ast: ff4a8d9a961ad3cb815e5c7fd71f32c2071b802fcec05e4768fced1f66c52d35 + canonicalized_ast: ff4a8d9a961ad3cb815e5c7fd71f32c2071b802fcec05e4768fced1f66c52d35 + type_inferenced_ast: 27745e526e1e647526bd04fac6cf28e6c190a4d6aca2e0f235d7eff8ec1d00c3 diff --git a/tests/expectations/compiler/compiler/integers/i16/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/i16/min_fail.leo.out index 3f519cf1b5..956353eb27 100644 --- a/tests/expectations/compiler/compiler/integers/i16/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-32769'\n --> compiler-test:4:20\n |\n 4 | const a: i16 = -32769;\n | ^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/i16/mul.leo.out b/tests/expectations/compiler/compiler/integers/i16/mul.leo.out index ef090731fb..e02846dff2 100644 --- a/tests/expectations/compiler/compiler/integers/i16/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 6144 + num_constraints: 6145 + at: a82b875e925052eba2aa8b33aaa6a654c144148e94e18bbe9649dcdd1fc0ad71 + bt: cd23bca179b84ca9238460e8de4ec0c0afdc0ce1e3d6669329fc4baf08e7e0db + ct: f60e073d0353b71ab07769daa585ce03799bb2f4095a0dda5f9009b4f42162ed + output: + - input_file: i16.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e2ea9bad702ec0c03da96d6de6e49e19600c7c59a984b1f6293456a6422a44ee + imports_resolved_ast: e2ea9bad702ec0c03da96d6de6e49e19600c7c59a984b1f6293456a6422a44ee + canonicalized_ast: e2ea9bad702ec0c03da96d6de6e49e19600c7c59a984b1f6293456a6422a44ee + type_inferenced_ast: 529c3f87ac0b87c521d21958a8fa03f1bd4a77a047ed0815935c33a35780dcb2 diff --git a/tests/expectations/compiler/compiler/integers/i16/ne.leo.out b/tests/expectations/compiler/compiler/integers/i16/ne.leo.out index ef090731fb..8239a63289 100644 --- a/tests/expectations/compiler/compiler/integers/i16/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/ne.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 65 + num_constraints: 65 + at: 83a4d089927a9811a9d4ed5b3ee2e50e395cd598de865653be04a2c51904b072 + bt: 30bc7cfbc53a2e928ca0310b6041f1f1548ad7c1197ffc9301b46522122e5561 + ct: f037d279ccea3ca689e05801ec3ba0053b5ce66a1763d4620262ea9b69873008 + output: + - input_file: i16_ne.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i16_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: c7ab4b48ebe504d361335859297d54229144960db82dde7a6d7124821dc5bdaf + imports_resolved_ast: c7ab4b48ebe504d361335859297d54229144960db82dde7a6d7124821dc5bdaf + canonicalized_ast: c7ab4b48ebe504d361335859297d54229144960db82dde7a6d7124821dc5bdaf + type_inferenced_ast: fba12a2f71c2ae3dba292b834566ba9d3495f888e21fb07109b15be597f2b6bf diff --git a/tests/expectations/compiler/compiler/integers/i16/negate.leo.out b/tests/expectations/compiler/compiler/integers/i16/negate.leo.out index ef090731fb..d0ec10d082 100644 --- a/tests/expectations/compiler/compiler/integers/i16/negate.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/negate.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 93 + num_constraints: 93 + at: 29988ea86584610f4511315204ed49c45d0303c44e0fb59c0df19dc048cee369 + bt: 9bba1722080b8c396e72a645c5ca7dff2943c0b29a741569acdba3887e40c8af + ct: 4f89ea4838bc4544e2767b7dc68a1e0fa0649d7401bb7ae8292bd6aa654eda28 + output: + - input_file: i16.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i16.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ecbc2a7d13b6a8d1bf35f53a9d80c4aab380495ec93663410c390e5d6d4f602e + imports_resolved_ast: ecbc2a7d13b6a8d1bf35f53a9d80c4aab380495ec93663410c390e5d6d4f602e + canonicalized_ast: ecbc2a7d13b6a8d1bf35f53a9d80c4aab380495ec93663410c390e5d6d4f602e + type_inferenced_ast: 106f4bc60cc6c007d1418e2571c3183f4372988be97c319574e965d2a08d9f3d diff --git a/tests/expectations/compiler/compiler/integers/i16/negate_min.leo.out b/tests/expectations/compiler/compiler/integers/i16/negate_min.leo.out index ef090731fb..cb03f28c62 100644 --- a/tests/expectations/compiler/compiler/integers/i16/negate_min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/negate_min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: a8449e15a25ff4327992829605e38edc70f958d0e3af40e3244b687b6a7a524f + imports_resolved_ast: a8449e15a25ff4327992829605e38edc70f958d0e3af40e3244b687b6a7a524f + canonicalized_ast: a8449e15a25ff4327992829605e38edc70f958d0e3af40e3244b687b6a7a524f + type_inferenced_ast: 90abf0bc2284b1bee472bcc256040c4dafd0e98c8938b9912778ed9c31d3f8ec diff --git a/tests/expectations/compiler/compiler/integers/i16/negate_zero.leo.out b/tests/expectations/compiler/compiler/integers/i16/negate_zero.leo.out index ef090731fb..bc9c8258fe 100644 --- a/tests/expectations/compiler/compiler/integers/i16/negate_zero.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/negate_zero.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d0091da13c0406b347d3c276e90831cdd65da70e601ff244bd9c861c2c30af31 + imports_resolved_ast: d0091da13c0406b347d3c276e90831cdd65da70e601ff244bd9c861c2c30af31 + canonicalized_ast: d0091da13c0406b347d3c276e90831cdd65da70e601ff244bd9c861c2c30af31 + type_inferenced_ast: bf3619f3735b49c2daa579800f40de768515f8367c7b934567ae1e79eb8d9228 diff --git a/tests/expectations/compiler/compiler/integers/i16/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/i16/no_space_between_literal.leo.out index 3f519cf1b5..8484337bd0 100644 --- a/tests/expectations/compiler/compiler/integers/i16/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and i16\n --> compiler-test:4:15\n |\n 4 | const i = 1 i16;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/i16/sub.leo.out b/tests/expectations/compiler/compiler/integers/i16/sub.leo.out index ef090731fb..468b2421a7 100644 --- a/tests/expectations/compiler/compiler/integers/i16/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 202 + num_constraints: 203 + at: 7b1b870d629fe64b117f0be092b7336e6b4149ac6778d0f4d02273e0c2b59a2a + bt: 035e3e8f741942f4683b2262c8f0fc75c0c5a89252c069ed956abce34019b988 + ct: cd38769a0ae3aefd48815d80555886d23370399b29596b8433ad23be67afc55f + output: + - input_file: i16.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 29b5330610e95c16d51f5296a10729b570a50e19862685ad5d3209e458e42c79 + imports_resolved_ast: 29b5330610e95c16d51f5296a10729b570a50e19862685ad5d3209e458e42c79 + canonicalized_ast: 29b5330610e95c16d51f5296a10729b570a50e19862685ad5d3209e458e42c79 + type_inferenced_ast: b50322c970ad5e34639834c22770e359a2a3fe6434064ef3687e03889af3f02b diff --git a/tests/expectations/compiler/compiler/integers/i16/ternary.leo.out b/tests/expectations/compiler/compiler/integers/i16/ternary.leo.out index ef090731fb..9781a6c474 100644 --- a/tests/expectations/compiler/compiler/integers/i16/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/i16/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 112 + num_constraints: 128 + at: b0a107f586de648c8446ae3246117de3b20ba9c0249d261f234106809d112f0a + bt: 0e5faacb5d80488eeda9e7fa79ddd96e54c010e0e98571449f79cad816cc18a2 + ct: 2b3428d7c7335edc32ab219fe11c92e215d70a52c89434de349f4951561d5795 + output: + - input_file: i16.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i16_rev.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 331af238c9ee45bd3b604155405f8ab4061ff16416387249364f83432f7f8b5a + imports_resolved_ast: 331af238c9ee45bd3b604155405f8ab4061ff16416387249364f83432f7f8b5a + canonicalized_ast: 331af238c9ee45bd3b604155405f8ab4061ff16416387249364f83432f7f8b5a + type_inferenced_ast: 50a018ce4b160bd86e9fbdfe9db17bcfd055e4800f06c55551eed3100d3f64e6 diff --git a/tests/expectations/compiler/compiler/integers/i32/add.leo.out b/tests/expectations/compiler/compiler/integers/i32/add.leo.out index ef090731fb..68fc4a45f6 100644 --- a/tests/expectations/compiler/compiler/integers/i32/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 348 + num_constraints: 349 + at: 2fe67b488b0f96f2f6be7e96dc7f102984b0132232e452f44e40cad21a1dc5f3 + bt: 8dd304125c8178327f11b0894be2788080258a5a80aab3c1df046fea9f262789 + ct: 8b73986e71edfc8b716f535eaa069b04cc15502adbd166ae713df42cb9d37a3c + output: + - input_file: i32.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 39635af165ae775232853b12ac07b0a21f39382ae3e146001e1a05b7c60849c3 + imports_resolved_ast: 39635af165ae775232853b12ac07b0a21f39382ae3e146001e1a05b7c60849c3 + canonicalized_ast: 39635af165ae775232853b12ac07b0a21f39382ae3e146001e1a05b7c60849c3 + type_inferenced_ast: 8da17349b8496481730002123096f5c09debd25133db8045665aa2ae405efe1a diff --git a/tests/expectations/compiler/compiler/integers/i32/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/i32/console_assert.leo.out index ef090731fb..4f1f835132 100644 --- a/tests/expectations/compiler/compiler/integers/i32/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/console_assert.leo.out @@ -1,4 +1,19 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 127 + num_constraints: 127 + at: 051151c1ab89f2c0ff0fe5d336668c3fcd6dc4744d1f5b8e135dcb7bf6a6195c + bt: 6b92443726163ac0fc32f7c9edace0ec8369e793d24105d93d121cb0bd5c3128 + ct: 7cb2d3f0ccfb9a2e747c6a05bdb52812c4539c836ff62c4e555fac13ef2084d4 + output: + - input_file: i32.in + output: + registers: {} + initial_ast: 6ba5c49aaa9ed5abf49a7f538392cb18905e6805b7d3780e5d6391adb7df6631 + imports_resolved_ast: 6ba5c49aaa9ed5abf49a7f538392cb18905e6805b7d3780e5d6391adb7df6631 + canonicalized_ast: 35877250663e7d44c5e01e64cd99d5e1b8fa84da4d00667bade1fd9a517f3803 + type_inferenced_ast: 2c72c8cf340cc122fb5a081c8dd6eaa22ac2c79511e98fd5f23f4b8b1dac3526 diff --git a/tests/expectations/compiler/compiler/integers/i32/div.leo.out b/tests/expectations/compiler/compiler/integers/i32/div.leo.out index ef090731fb..40804c7cb0 100644 --- a/tests/expectations/compiler/compiler/integers/i32/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 16918 + num_constraints: 21142 + at: a8ca22c0da8166ef4f88e959be315231681516ee6113dff620637774f8e4a670 + bt: e09097be6926888dddac4cd61c1b3419e05b5b700ba3acca116f6eb2c01cb0a4 + ct: 13922ea4b7763c9228f5dfedfb0d8e2f7d5a3bbed934cd6df5ae99f4150222d2 + output: + - input_file: i32.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 3917fa03634f3abb0d497bfae7ba98c15dd93f867e3e1bf724bab8fc724ce8cf + imports_resolved_ast: 3917fa03634f3abb0d497bfae7ba98c15dd93f867e3e1bf724bab8fc724ce8cf + canonicalized_ast: 3917fa03634f3abb0d497bfae7ba98c15dd93f867e3e1bf724bab8fc724ce8cf + type_inferenced_ast: 1f460bec4ed9e4478b7ef9df14773eb92ad310d790cae429a0caadbc7f750d2e diff --git a/tests/expectations/compiler/compiler/integers/i32/eq.leo.out b/tests/expectations/compiler/compiler/integers/i32/eq.leo.out index ef090731fb..690a556f61 100644 --- a/tests/expectations/compiler/compiler/integers/i32/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/eq.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 129 + num_constraints: 129 + at: 4ce4f2bf481c4f7e47396527999e129066d1f157413884f91ced3d2b525a3187 + bt: e63628fc48d1e71ea44830c010e442f577239e29f7ffada0d8df34c28e67f107 + ct: 9f4c72431c0c7c03e216195a071c971c53deed8e3bfce450bffb3a6fad7418d5 + output: + - input_file: i32.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 180d1048dd64c67ea367750630057b9c5302a89a81144d0148ea1dfafada8b4c + imports_resolved_ast: 180d1048dd64c67ea367750630057b9c5302a89a81144d0148ea1dfafada8b4c + canonicalized_ast: 180d1048dd64c67ea367750630057b9c5302a89a81144d0148ea1dfafada8b4c + type_inferenced_ast: f2f2254b22bc172f1859835e478e9456b3fdbc497f5a48483fc87969d6bf6144 diff --git a/tests/expectations/compiler/compiler/integers/i32/ge.leo.out b/tests/expectations/compiler/compiler/integers/i32/ge.leo.out index ef090731fb..f55b8e9939 100644 --- a/tests/expectations/compiler/compiler/integers/i32/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/ge.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 225 + num_constraints: 225 + at: fba74e6ed7ae0c0cf0bd2c874940e7e9daf6c7c4e08cf9359b31279433ec0ef5 + bt: 3f23038cdf71876dea48b44b9cae993b3f649b628bcdaf6f1cb77bbafa92b600 + ct: d7067f500143a40e015fd1f4447a4ea5b9ee6ebdf007e08be51772a8a2b672c3 + output: + - input_file: i32_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i32_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6401f6c0567fe73628faf73dc3cd71635bbba9b997c918d182f6fdf2dda68b82 + imports_resolved_ast: 6401f6c0567fe73628faf73dc3cd71635bbba9b997c918d182f6fdf2dda68b82 + canonicalized_ast: 6401f6c0567fe73628faf73dc3cd71635bbba9b997c918d182f6fdf2dda68b82 + type_inferenced_ast: 9e105f38de69dddfd99b143f279f063950e305321a343dea0bf10924af6f7c2b diff --git a/tests/expectations/compiler/compiler/integers/i32/gt.leo.out b/tests/expectations/compiler/compiler/integers/i32/gt.leo.out index ef090731fb..4ec0e63ed9 100644 --- a/tests/expectations/compiler/compiler/integers/i32/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/gt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 225 + num_constraints: 225 + at: fec1628688d454ab244e921b74f7f70ff6c7acf18280488dfb43cd0bb4bd70d2 + bt: 02fd44d092923c1a89fc492a9660926934e03005d8c3fa5f42ae2a3fbd7048ea + ct: d7067f500143a40e015fd1f4447a4ea5b9ee6ebdf007e08be51772a8a2b672c3 + output: + - input_file: i32_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i32_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: f82734600ac57a9a5bd1ef4c2439cc5bbea882cd2ed81646ce6abd7915abc344 + imports_resolved_ast: f82734600ac57a9a5bd1ef4c2439cc5bbea882cd2ed81646ce6abd7915abc344 + canonicalized_ast: f82734600ac57a9a5bd1ef4c2439cc5bbea882cd2ed81646ce6abd7915abc344 + type_inferenced_ast: 67d4dfb5c34b3e9aa457c7897d28cf85a2366bf987279f50eb44ad5cfe617ffa diff --git a/tests/expectations/compiler/compiler/integers/i32/le.leo.out b/tests/expectations/compiler/compiler/integers/i32/le.leo.out index ef090731fb..c420c4c1f0 100644 --- a/tests/expectations/compiler/compiler/integers/i32/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/le.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 225 + num_constraints: 225 + at: 39f909848aee2ee744719f8692f58b9745aeaeededc431f1b06df839384bff07 + bt: 4e75a3c5fd91239e6bf32d96c6a4a702e040e4a3bddcc282706ca76facb9e942 + ct: d7067f500143a40e015fd1f4447a4ea5b9ee6ebdf007e08be51772a8a2b672c3 + output: + - input_file: i32_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i32_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 51baf4d7be19032fb911d8f5e7fb250ccf3e9e272644c013699be201cf44d00a + imports_resolved_ast: 51baf4d7be19032fb911d8f5e7fb250ccf3e9e272644c013699be201cf44d00a + canonicalized_ast: 51baf4d7be19032fb911d8f5e7fb250ccf3e9e272644c013699be201cf44d00a + type_inferenced_ast: 0427991a5b5ca595f7a0d5fb0d842ecc18433533366ae437fcbdaff134150481 diff --git a/tests/expectations/compiler/compiler/integers/i32/lt.leo.out b/tests/expectations/compiler/compiler/integers/i32/lt.leo.out index ef090731fb..c656ee7282 100644 --- a/tests/expectations/compiler/compiler/integers/i32/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 225 + num_constraints: 225 + at: fcca8f94beb99b6f86edd3f8c36b81043482e6c449fc4278d53d546c295810ed + bt: 26e3dae4bf8fe37424b8ef7cc60b6136809286a8e64736e63b8b5dfacf774c21 + ct: d7067f500143a40e015fd1f4447a4ea5b9ee6ebdf007e08be51772a8a2b672c3 + output: + - input_file: i32_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i32_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e464cb5a70dcb5bf51ab5ccffa10b54ea29f0e68775593f05bb0d585144487a8 + imports_resolved_ast: e464cb5a70dcb5bf51ab5ccffa10b54ea29f0e68775593f05bb0d585144487a8 + canonicalized_ast: e464cb5a70dcb5bf51ab5ccffa10b54ea29f0e68775593f05bb0d585144487a8 + type_inferenced_ast: 486d0d877dbc748210bc6a82d40a132709d83a44d5e4de255e9c40dd3bf6cedd diff --git a/tests/expectations/compiler/compiler/integers/i32/max.leo.out b/tests/expectations/compiler/compiler/integers/i32/max.leo.out index ef090731fb..48b7243612 100644 --- a/tests/expectations/compiler/compiler/integers/i32/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2596ba582e34d7147902c469c3544d438d8ba64aeecd103938a1eb8e3536f360 + imports_resolved_ast: 2596ba582e34d7147902c469c3544d438d8ba64aeecd103938a1eb8e3536f360 + canonicalized_ast: 2596ba582e34d7147902c469c3544d438d8ba64aeecd103938a1eb8e3536f360 + type_inferenced_ast: aa0a685388d2f3aed81db5c35ead63975e8ad4df5803390f1976795ad544430f diff --git a/tests/expectations/compiler/compiler/integers/i32/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/i32/max_fail.leo.out index 3f519cf1b5..0d54553e56 100644 --- a/tests/expectations/compiler/compiler/integers/i32/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '2147483648'\n --> compiler-test:4:20\n |\n 4 | const a: i32 = 2147483648;\n | ^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/i32/min.leo.out b/tests/expectations/compiler/compiler/integers/i32/min.leo.out index ef090731fb..0f8d4cf6b8 100644 --- a/tests/expectations/compiler/compiler/integers/i32/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e08bac68e7d8ebb03c3fc1538c525de5e2caeaed750b548f4756abf12d6d38a5 + imports_resolved_ast: e08bac68e7d8ebb03c3fc1538c525de5e2caeaed750b548f4756abf12d6d38a5 + canonicalized_ast: e08bac68e7d8ebb03c3fc1538c525de5e2caeaed750b548f4756abf12d6d38a5 + type_inferenced_ast: f529d963cc870de92960d5c2eb5ec8ceeae22256f0164399867b996a14be14aa diff --git a/tests/expectations/compiler/compiler/integers/i32/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/i32/min_fail.leo.out index 3f519cf1b5..73ba63d793 100644 --- a/tests/expectations/compiler/compiler/integers/i32/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-2147483649'\n --> compiler-test:4:20\n |\n 4 | const a: i32 = -2147483649;\n | ^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/i32/mul.leo.out b/tests/expectations/compiler/compiler/integers/i32/mul.leo.out index ef090731fb..4c3c4bc942 100644 --- a/tests/expectations/compiler/compiler/integers/i32/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 24576 + num_constraints: 24577 + at: 3f0c50eed51d601da1dd661e666f96fcf5285b7be20881d92b7fa14e6147c5fd + bt: fc2efd0d73e1d0feb345c15515e796fcd289003e5e388d35be464e3ee76a0cb5 + ct: f720f62a8a58bc4a64c837cfad115c98d50ccfe3b208fb9fa346c5c17ff7ded4 + output: + - input_file: i32.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 3fc63e8ecf481c6f4224c0206b16af942eb407b151f1fc21d8774cbf84ccc5d6 + imports_resolved_ast: 3fc63e8ecf481c6f4224c0206b16af942eb407b151f1fc21d8774cbf84ccc5d6 + canonicalized_ast: 3fc63e8ecf481c6f4224c0206b16af942eb407b151f1fc21d8774cbf84ccc5d6 + type_inferenced_ast: 89f3c749fb559365b2ea0d804cb9146d923993a6c2c2dd9a3942057d7ff343d4 diff --git a/tests/expectations/compiler/compiler/integers/i32/ne.leo.out b/tests/expectations/compiler/compiler/integers/i32/ne.leo.out index ef090731fb..db5011ded1 100644 --- a/tests/expectations/compiler/compiler/integers/i32/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/ne.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 129 + num_constraints: 129 + at: 6cde17fb079861287679ad93d9ed9125cfc21000431bfeaf5a2054360ce51ef7 + bt: 1178e67ab79eac96592f17313168c4300d53e89ab571025054d53d19dfdfd1b8 + ct: 9f4c72431c0c7c03e216195a071c971c53deed8e3bfce450bffb3a6fad7418d5 + output: + - input_file: i32_ne.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i32_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 79492afcb10499d002f2b1f6c60bd7e656817f7c638068ad4bb7b3f5087537c7 + imports_resolved_ast: 79492afcb10499d002f2b1f6c60bd7e656817f7c638068ad4bb7b3f5087537c7 + canonicalized_ast: 79492afcb10499d002f2b1f6c60bd7e656817f7c638068ad4bb7b3f5087537c7 + type_inferenced_ast: 2f324fbbfefac3d5fd095be4ca42fd83c711ae407e9631b0814f543331662dcf diff --git a/tests/expectations/compiler/compiler/integers/i32/negate.leo.out b/tests/expectations/compiler/compiler/integers/i32/negate.leo.out index ef090731fb..51672f6983 100644 --- a/tests/expectations/compiler/compiler/integers/i32/negate.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/negate.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 189 + num_constraints: 189 + at: 2254172298dcedafc294b068f855ab0dd689491362b1b490a8c95435e4b159da + bt: 244d201ae16e93cdd97ca56d698598a5a66e1bcb2794d58b5e24f6f9df9760a4 + ct: 1607b4ad7556c35957a6cbce85868f0f82d2c65e55f13350ef81738caec6e235 + output: + - input_file: i32.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i32.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: c895e4172b4155a740dfe2aebfc4ded6f694b017d0eb1b7700b42e4498ecf151 + imports_resolved_ast: c895e4172b4155a740dfe2aebfc4ded6f694b017d0eb1b7700b42e4498ecf151 + canonicalized_ast: c895e4172b4155a740dfe2aebfc4ded6f694b017d0eb1b7700b42e4498ecf151 + type_inferenced_ast: 47858526755f4292e5e423544d3ed6b4c664b08566f1a3f066433a8e21f4480a diff --git a/tests/expectations/compiler/compiler/integers/i32/negate_min.leo.out b/tests/expectations/compiler/compiler/integers/i32/negate_min.leo.out index ef090731fb..0ac80cea4c 100644 --- a/tests/expectations/compiler/compiler/integers/i32/negate_min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/negate_min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: bcbd4fdb79ebffa456407355e6d4f71d039014dd03cee2466850f90c1c1c17e2 + imports_resolved_ast: bcbd4fdb79ebffa456407355e6d4f71d039014dd03cee2466850f90c1c1c17e2 + canonicalized_ast: bcbd4fdb79ebffa456407355e6d4f71d039014dd03cee2466850f90c1c1c17e2 + type_inferenced_ast: d2bc0ba76d451989365a4f3c40cffde6abc17865a43b2816d89bd884e8b0bdff diff --git a/tests/expectations/compiler/compiler/integers/i32/negate_zero.leo.out b/tests/expectations/compiler/compiler/integers/i32/negate_zero.leo.out index ef090731fb..f37306e8cb 100644 --- a/tests/expectations/compiler/compiler/integers/i32/negate_zero.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/negate_zero.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: b1ec676bc801b40fa773668c988ce9da33fec783743e214269a777ad122cda49 + imports_resolved_ast: b1ec676bc801b40fa773668c988ce9da33fec783743e214269a777ad122cda49 + canonicalized_ast: b1ec676bc801b40fa773668c988ce9da33fec783743e214269a777ad122cda49 + type_inferenced_ast: 97b5d8261ddffbfff0316e3bf97df502a9b1c75e79b2e94d0b8f8f8c565699de diff --git a/tests/expectations/compiler/compiler/integers/i32/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/i32/no_space_between_literal.leo.out index 3f519cf1b5..8bf423a222 100644 --- a/tests/expectations/compiler/compiler/integers/i32/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and i32\n --> compiler-test:4:15\n |\n 4 | const i = 1 i32;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/i32/sub.leo.out b/tests/expectations/compiler/compiler/integers/i32/sub.leo.out index ef090731fb..113536fbea 100644 --- a/tests/expectations/compiler/compiler/integers/i32/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 410 + num_constraints: 411 + at: 3293cb0f2e38fae78ca837de736471f6e36a372f92282123f6082e07648b412b + bt: c342f65da421c48d402ba324062abbb064eb525a99fe5379fcb1654a33a11d68 + ct: 8a37ed12cbab476be56f1dc175e38c689f5bde3909161865409085a34c4a19f1 + output: + - input_file: i32.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d3776192bdb897e3ffdfe76557ba210babd9fd36945d47133552271858ff5c35 + imports_resolved_ast: d3776192bdb897e3ffdfe76557ba210babd9fd36945d47133552271858ff5c35 + canonicalized_ast: d3776192bdb897e3ffdfe76557ba210babd9fd36945d47133552271858ff5c35 + type_inferenced_ast: 36e7d5a21e55cd5d61ea6644e8d5c84a0640972921fbdcfd6e27886caf6b5216 diff --git a/tests/expectations/compiler/compiler/integers/i32/ternary.leo.out b/tests/expectations/compiler/compiler/integers/i32/ternary.leo.out index ef090731fb..4960310094 100644 --- a/tests/expectations/compiler/compiler/integers/i32/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/i32/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 224 + num_constraints: 256 + at: 45301188494f0c65b2e88eac9117ba7367e772ea34e9b8f34bf3d49dbd1dd067 + bt: 35d9c47cfd4fc137760d0ee411c0b097541cab7aae2b0a9ea83b368328fe5c23 + ct: 032da4c7df957d9ca89b5395be6e1c84cab7d19a78abe1b02bb37b26ca65b0e4 + output: + - input_file: i32.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i32_rev.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 04e630cdddd76554c0049b08a3ed7a6a2c824a7dc929796e3fc713c6d11f70be + imports_resolved_ast: 04e630cdddd76554c0049b08a3ed7a6a2c824a7dc929796e3fc713c6d11f70be + canonicalized_ast: 04e630cdddd76554c0049b08a3ed7a6a2c824a7dc929796e3fc713c6d11f70be + type_inferenced_ast: 0655b17c3f9cc5c7500c8c7edfef4effa43668f096da5338b2c44ae316b0a5e1 diff --git a/tests/expectations/compiler/compiler/integers/i64/add.leo.out b/tests/expectations/compiler/compiler/integers/i64/add.leo.out index ef090731fb..c7c89b8c83 100644 --- a/tests/expectations/compiler/compiler/integers/i64/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 700 + num_constraints: 701 + at: cecef57cd6d6e05c1f08807f82c42ac9ab45def4542662ca606c2e8183f36c76 + bt: dbea824d3f892b3f86e08d05b68eecdc0de998bcd12186475d90ede9dfc5dfd8 + ct: 8bc1636c45d8da73bfa0c5a71972d9829c9954007eff5db6f8fa4672d5b57c4f + output: + - input_file: i64.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 8e59e1adb08d85f3d13a4e0501c7299d8258d13dd979c0a971d5f2ce75f631a6 + imports_resolved_ast: 8e59e1adb08d85f3d13a4e0501c7299d8258d13dd979c0a971d5f2ce75f631a6 + canonicalized_ast: 8e59e1adb08d85f3d13a4e0501c7299d8258d13dd979c0a971d5f2ce75f631a6 + type_inferenced_ast: 3a117cd702a7f13a7cbafd2c05c301d87562a0c6a971486c0cb07391f732c02d diff --git a/tests/expectations/compiler/compiler/integers/i64/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/i64/console_assert.leo.out index ef090731fb..325e819d35 100644 --- a/tests/expectations/compiler/compiler/integers/i64/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/console_assert.leo.out @@ -1,4 +1,19 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 255 + num_constraints: 255 + at: 68080cb19b62be7f91ee2118affb7b55ea272e15e17581869385053a5c6d3623 + bt: 2c1d031e57e285b1277f2c37853fc7fdff23711e1147d7b26ed74d3acd28ceff + ct: 0b136215b60005ed17aa4eea76bc4e2b0349c0fecf57dc06f5dba31981f270d0 + output: + - input_file: i64.in + output: + registers: {} + initial_ast: 9389a270a24424ceb480768d8d0811101f2f92c7fc7447efe29686fd30d075e8 + imports_resolved_ast: 9389a270a24424ceb480768d8d0811101f2f92c7fc7447efe29686fd30d075e8 + canonicalized_ast: f44f1275eb6295af14fcc1773894b0694bb8657cb7b472b16cc1e5d846ca6a6c + type_inferenced_ast: 546c1d880e97e95d1b91a1e6b73fc9cf240c734921ebe534e2a7af6cb224f477 diff --git a/tests/expectations/compiler/compiler/integers/i64/div.leo.out b/tests/expectations/compiler/compiler/integers/i64/div.leo.out index ef090731fb..90ff4e41f0 100644 --- a/tests/expectations/compiler/compiler/integers/i64/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 66614 + num_constraints: 83254 + at: 329edae9756f7bd721526c1b0790df530231fd3294f92161fb6c6b92036f03cd + bt: 81f681cc8f8cfc15fbecf76405b9a65ee9bf78492f8c012067a6a3db6efd466a + ct: 308cc563c21dc87ce980daf26ae9f4716b2e9f26517940e244ce3d98f488d280 + output: + - input_file: i64.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6fee781a23a251aafaea1000be3025d52bdeceb3b95aa746cdcc9560834227e3 + imports_resolved_ast: 6fee781a23a251aafaea1000be3025d52bdeceb3b95aa746cdcc9560834227e3 + canonicalized_ast: 6fee781a23a251aafaea1000be3025d52bdeceb3b95aa746cdcc9560834227e3 + type_inferenced_ast: 4e93f3e08a4f65b47fe98c337cc6b1b3cf1be2cef22ab55d3bfd7491e8776a17 diff --git a/tests/expectations/compiler/compiler/integers/i64/eq.leo.out b/tests/expectations/compiler/compiler/integers/i64/eq.leo.out index ef090731fb..0a6b595adc 100644 --- a/tests/expectations/compiler/compiler/integers/i64/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/eq.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 257 + num_constraints: 257 + at: 30dc67aa22cadc6e5ec8c73e0096443263121e29adf46bb33ed310b07765ff6e + bt: 1aaee32179419b6185d75c5745bd13c7c8ba869bad0132405ef1b28915bfe5d9 + ct: 8edd5528a862bbd5590cfbd0d52871e395cf73e3a22c70839571b36506fbe3a7 + output: + - input_file: i64.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: bdde37443fd01021b4b7928e9d28c94146ff2f6804200387638b5912729c6acb + imports_resolved_ast: bdde37443fd01021b4b7928e9d28c94146ff2f6804200387638b5912729c6acb + canonicalized_ast: bdde37443fd01021b4b7928e9d28c94146ff2f6804200387638b5912729c6acb + type_inferenced_ast: 20102db693d9c531d240a5926a64f5720c0e30bb5e15ba8ec55a9ccb5dc5a7e1 diff --git a/tests/expectations/compiler/compiler/integers/i64/ge.leo.out b/tests/expectations/compiler/compiler/integers/i64/ge.leo.out index ef090731fb..171923e14a 100644 --- a/tests/expectations/compiler/compiler/integers/i64/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/ge.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 449 + num_constraints: 449 + at: 04829ad53a315f620a66d1fc8152176c29a250b57c54482f7e2fba84cad444c4 + bt: 46fa1dbc8f6cc62609913fe96ad20cff4ba8ba7ea886b3682c3b4dc9a491b334 + ct: 7b765314986bd8a51a62dabdef866c5fe05ad9bf392fb0e25b7ce3b9969f81e1 + output: + - input_file: i64_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i64_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 5c1016b42105d692df8c5a799884607097e1f0e4e971f54f12f722a8b6767b85 + imports_resolved_ast: 5c1016b42105d692df8c5a799884607097e1f0e4e971f54f12f722a8b6767b85 + canonicalized_ast: 5c1016b42105d692df8c5a799884607097e1f0e4e971f54f12f722a8b6767b85 + type_inferenced_ast: 93f78d3f8250f873ffd7c7e677b4821bb727ec7018dc371c1ad383ba7496a830 diff --git a/tests/expectations/compiler/compiler/integers/i64/gt.leo.out b/tests/expectations/compiler/compiler/integers/i64/gt.leo.out index ef090731fb..24f40ebe9b 100644 --- a/tests/expectations/compiler/compiler/integers/i64/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/gt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 449 + num_constraints: 449 + at: 2805d5c14f23da221eefbd223bafa37ae210f961594e020f8aeb1a9ff00d7287 + bt: 3947204249ecf9b6f7339e9c6409daf25d626f7e807ac182d3222e61fb4499dd + ct: 7b765314986bd8a51a62dabdef866c5fe05ad9bf392fb0e25b7ce3b9969f81e1 + output: + - input_file: i64_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i64_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: a0404ddcc589b6006a5186d8ed29c981c7b0be8e8ff56c40eb9affee5fe2f2b0 + imports_resolved_ast: a0404ddcc589b6006a5186d8ed29c981c7b0be8e8ff56c40eb9affee5fe2f2b0 + canonicalized_ast: a0404ddcc589b6006a5186d8ed29c981c7b0be8e8ff56c40eb9affee5fe2f2b0 + type_inferenced_ast: 42efeba3e4bb618fcd85360650196171a2e786149c92c5fc9bc5ee3559af3e62 diff --git a/tests/expectations/compiler/compiler/integers/i64/le.leo.out b/tests/expectations/compiler/compiler/integers/i64/le.leo.out index ef090731fb..f5635d7292 100644 --- a/tests/expectations/compiler/compiler/integers/i64/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/le.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 449 + num_constraints: 449 + at: 228ee4529b5cacfbd2dfbe9fe20088c9e8de89c4f80fcca316cd4ed3830ff633 + bt: b228ce69df9ccfd94eb2d43619a82e2720dc0b34666b6850f0cd42db04befdef + ct: 7b765314986bd8a51a62dabdef866c5fe05ad9bf392fb0e25b7ce3b9969f81e1 + output: + - input_file: i64_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i64_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 78dbfbb72aaf373d3503564f96a35cd03525c6e39a756c17be39ff732ffd5cf9 + imports_resolved_ast: 78dbfbb72aaf373d3503564f96a35cd03525c6e39a756c17be39ff732ffd5cf9 + canonicalized_ast: 78dbfbb72aaf373d3503564f96a35cd03525c6e39a756c17be39ff732ffd5cf9 + type_inferenced_ast: dd127a982da4220d309a73347d52abb8175d73c45156384aae81e32c99451511 diff --git a/tests/expectations/compiler/compiler/integers/i64/lt.leo.out b/tests/expectations/compiler/compiler/integers/i64/lt.leo.out index ef090731fb..780f8e3d13 100644 --- a/tests/expectations/compiler/compiler/integers/i64/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 449 + num_constraints: 449 + at: 639536c4b5bf6a7c935ad88f1b89a66819ee24afa34d949536ab84e9cddd7fa0 + bt: fcbfd8b9b01e1754f1023d94765533fb9199baa19fddcb89a4d2a010e7844284 + ct: 7b765314986bd8a51a62dabdef866c5fe05ad9bf392fb0e25b7ce3b9969f81e1 + output: + - input_file: i64_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i64_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: db923fdd10ce89e66c72f1db5f8e95e3016dd8513ee687250b21b7aa5ce4daec + imports_resolved_ast: db923fdd10ce89e66c72f1db5f8e95e3016dd8513ee687250b21b7aa5ce4daec + canonicalized_ast: db923fdd10ce89e66c72f1db5f8e95e3016dd8513ee687250b21b7aa5ce4daec + type_inferenced_ast: eaa70c92e2390a74eec47bee46b954cdcc2fca0f441545902759a13b81d3cfe0 diff --git a/tests/expectations/compiler/compiler/integers/i64/max.leo.out b/tests/expectations/compiler/compiler/integers/i64/max.leo.out index ef090731fb..2302a3b102 100644 --- a/tests/expectations/compiler/compiler/integers/i64/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0703335d2e00880f1443d9c5b5e7b5f5a81ef393a45e6cdfdd4880f090895c52 + imports_resolved_ast: 0703335d2e00880f1443d9c5b5e7b5f5a81ef393a45e6cdfdd4880f090895c52 + canonicalized_ast: 0703335d2e00880f1443d9c5b5e7b5f5a81ef393a45e6cdfdd4880f090895c52 + type_inferenced_ast: b5afbedc3b27ae8576a74efae219f1fe5381f93ef957934e31821f26c950d36f diff --git a/tests/expectations/compiler/compiler/integers/i64/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/i64/max_fail.leo.out index 3f519cf1b5..e650a7040c 100644 --- a/tests/expectations/compiler/compiler/integers/i64/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '9223372036854775808'\n --> compiler-test:4:20\n |\n 4 | const a: i64 = 9223372036854775808;\n | ^^^^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/i64/min.leo.out b/tests/expectations/compiler/compiler/integers/i64/min.leo.out index ef090731fb..4b13c2c9e7 100644 --- a/tests/expectations/compiler/compiler/integers/i64/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 5724b0d2d9d2977ddc189b58e5cba10201d51f3c38cc57e77f0d5c53c98656cb + imports_resolved_ast: 5724b0d2d9d2977ddc189b58e5cba10201d51f3c38cc57e77f0d5c53c98656cb + canonicalized_ast: 5724b0d2d9d2977ddc189b58e5cba10201d51f3c38cc57e77f0d5c53c98656cb + type_inferenced_ast: 2495a438e9e13500365e60ebc5dae138a9ac1608e0ccef13a65bbbeb411646c1 diff --git a/tests/expectations/compiler/compiler/integers/i64/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/i64/min_fail.leo.out index 3f519cf1b5..96c0168ffc 100644 --- a/tests/expectations/compiler/compiler/integers/i64/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-9223372036854775809'\n --> compiler-test:4:20\n |\n 4 | const a: i64 = -9223372036854775809;\n | ^^^^^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/i64/mul.leo.out b/tests/expectations/compiler/compiler/integers/i64/mul.leo.out index ef090731fb..ee4b5ef6ce 100644 --- a/tests/expectations/compiler/compiler/integers/i64/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 98304 + num_constraints: 98305 + at: bad40272ae6cda7f44d2b892d1768eee85552b506921982eef405d5cc8d70e43 + bt: 2fc487f7ec79d8c33c89cf5c899ad0b56f7468af6aec96081b6f08344fbf872f + ct: 37717cfdc15b44be3cd83355ff38227c8abc7aa09152746fe4cd7f42ae31ea9f + output: + - input_file: i64.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 7d81fb85fdaf9767a4248d83f81f48e91be6e2ce749a4a02f9fe85494154eda8 + imports_resolved_ast: 7d81fb85fdaf9767a4248d83f81f48e91be6e2ce749a4a02f9fe85494154eda8 + canonicalized_ast: 7d81fb85fdaf9767a4248d83f81f48e91be6e2ce749a4a02f9fe85494154eda8 + type_inferenced_ast: 54a87debd3d8471ba6f1afef722be088ac023304fb2c27a2ef39699bf16fe81d diff --git a/tests/expectations/compiler/compiler/integers/i64/ne.leo.out b/tests/expectations/compiler/compiler/integers/i64/ne.leo.out index ef090731fb..43899bcc08 100644 --- a/tests/expectations/compiler/compiler/integers/i64/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/ne.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 257 + num_constraints: 257 + at: 2ba8d0827cc16bb5d0076549483425de1dd0da9b3fb06fd790c256ec8d1df36b + bt: 7abc1550aed02405fe1d0951da294ee11583b4215ddc3889429f16ac75604766 + ct: 8edd5528a862bbd5590cfbd0d52871e395cf73e3a22c70839571b36506fbe3a7 + output: + - input_file: i64_ne.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i64_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: cb56faba44a5f54ab7fc9021e0903b7cdd70d56bbcf97fcfdaf355475a4a2011 + imports_resolved_ast: cb56faba44a5f54ab7fc9021e0903b7cdd70d56bbcf97fcfdaf355475a4a2011 + canonicalized_ast: cb56faba44a5f54ab7fc9021e0903b7cdd70d56bbcf97fcfdaf355475a4a2011 + type_inferenced_ast: ef1112d9d7f63b6addabad7a4cfbb672ef167272ea603b11a92b8b39e468fbb9 diff --git a/tests/expectations/compiler/compiler/integers/i64/negate.leo.out b/tests/expectations/compiler/compiler/integers/i64/negate.leo.out index ef090731fb..b36a02f1d4 100644 --- a/tests/expectations/compiler/compiler/integers/i64/negate.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/negate.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 381 + num_constraints: 381 + at: 417f4d29cfbc9a9a971f4d94932ac19b448b4b7407e37e0558c3e232b4dfa073 + bt: f99ae12913da76b1006f5da90b82a67453e4ade0ae3c1102088527b9165abfc3 + ct: e7cff3106d84b6f974711e728b4b6138785655ed58ad24bcd957a5fbbde6be62 + output: + - input_file: i64.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i64.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 4ace760ee44ede5868a0ea11f96f47c596da9772ab3b821be5879782747bb64d + imports_resolved_ast: 4ace760ee44ede5868a0ea11f96f47c596da9772ab3b821be5879782747bb64d + canonicalized_ast: 4ace760ee44ede5868a0ea11f96f47c596da9772ab3b821be5879782747bb64d + type_inferenced_ast: eb5b6e6f6f1c91ef1489e0d686e0ea142762777b4991ee12f235ff73a91742eb diff --git a/tests/expectations/compiler/compiler/integers/i64/negate_min.leo.out b/tests/expectations/compiler/compiler/integers/i64/negate_min.leo.out index ef090731fb..a9ef61f2b6 100644 --- a/tests/expectations/compiler/compiler/integers/i64/negate_min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/negate_min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 96d8371bf9102e40d6c297ad0e042d91b9bab58212d3ace9fa0811d3be54eec5 + imports_resolved_ast: 96d8371bf9102e40d6c297ad0e042d91b9bab58212d3ace9fa0811d3be54eec5 + canonicalized_ast: 96d8371bf9102e40d6c297ad0e042d91b9bab58212d3ace9fa0811d3be54eec5 + type_inferenced_ast: 1b6005dedf0bdb85dc9d50b0435bdfa1b9d34d75f516a2383890882ad3bf3b08 diff --git a/tests/expectations/compiler/compiler/integers/i64/negate_zero.leo.out b/tests/expectations/compiler/compiler/integers/i64/negate_zero.leo.out index ef090731fb..680da0f38f 100644 --- a/tests/expectations/compiler/compiler/integers/i64/negate_zero.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/negate_zero.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d5df39c563c640844bfd7a3fd95b53c107f66a8ce0adb7154084aad9cc42a623 + imports_resolved_ast: d5df39c563c640844bfd7a3fd95b53c107f66a8ce0adb7154084aad9cc42a623 + canonicalized_ast: d5df39c563c640844bfd7a3fd95b53c107f66a8ce0adb7154084aad9cc42a623 + type_inferenced_ast: 928fe3ff4063f147fe708ef5301279b7434b5f1708f1f59a9d14f28001aaad7d diff --git a/tests/expectations/compiler/compiler/integers/i64/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/i64/no_space_between_literal.leo.out index 3f519cf1b5..c5d6f40e8c 100644 --- a/tests/expectations/compiler/compiler/integers/i64/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and i64\n --> compiler-test:4:15\n |\n 4 | const i = 1 i64;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/i64/sub.leo.out b/tests/expectations/compiler/compiler/integers/i64/sub.leo.out index ef090731fb..f5f50da10e 100644 --- a/tests/expectations/compiler/compiler/integers/i64/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 826 + num_constraints: 827 + at: 353e78ba99a7a4accd8ff4d7fee5562d844f55009ffb547ee95bc741f3b75bde + bt: b2855c9d479f9679702723e00941392e8c7e3b66b48b997c2ff7e575b3b2a33d + ct: def36d63bd06a167e8b411f9f7a6208bd5da2233b7e44755d8f7fa3d483be554 + output: + - input_file: i64.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0918267d4d883608bdb8b1c178450077f0931539dc573d3829e37f24176a88f5 + imports_resolved_ast: 0918267d4d883608bdb8b1c178450077f0931539dc573d3829e37f24176a88f5 + canonicalized_ast: 0918267d4d883608bdb8b1c178450077f0931539dc573d3829e37f24176a88f5 + type_inferenced_ast: f2d7b1656ffb683dbb9ec39f37938cc188186aa708fef560b75523f0863886b8 diff --git a/tests/expectations/compiler/compiler/integers/i64/ternary.leo.out b/tests/expectations/compiler/compiler/integers/i64/ternary.leo.out index ef090731fb..837cc91d60 100644 --- a/tests/expectations/compiler/compiler/integers/i64/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/i64/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 448 + num_constraints: 512 + at: e36c9bfd01fbf30c1f31d53e2b19d1a83989e86701ba58838688174b9ad804d7 + bt: edadcd06780bd97cb60d245565ce94697ee12b4d71ce9148f1546f1c4390b668 + ct: f1bb709127145aae7603feda04afbc3e401fdf290c1d549be8d2d4b21ece9b58 + output: + - input_file: i64.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i64_rev.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: f60c769d564a5a76451d1b347c300f1ff5c0030b412ba5d84559fdd67fe6bb79 + imports_resolved_ast: f60c769d564a5a76451d1b347c300f1ff5c0030b412ba5d84559fdd67fe6bb79 + canonicalized_ast: f60c769d564a5a76451d1b347c300f1ff5c0030b412ba5d84559fdd67fe6bb79 + type_inferenced_ast: d28a4ada3a3c80b09dc1f8be54035ad7a162b5c2cf8f1b7c2eba78f02387d879 diff --git a/tests/expectations/compiler/compiler/integers/i8/add.leo.out b/tests/expectations/compiler/compiler/integers/i8/add.leo.out index ef090731fb..bb7943cee0 100644 --- a/tests/expectations/compiler/compiler/integers/i8/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 84 + num_constraints: 85 + at: 5d1a78f3ac820a4873a0602f69d7efb764135c6df25bfc4c182daee12402a595 + bt: 85916f4efb04caeb618ad35bc96528d6aeffd742b574cb93ed22ffcd46c87751 + ct: 846591a223fd860defb812adf90d4d103f16e168465e64986ac960819b4fae52 + output: + - input_file: i8.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 7507e4dd7081d148a851507da3d728d435ef2919517e01732a06014e32769efd + imports_resolved_ast: 7507e4dd7081d148a851507da3d728d435ef2919517e01732a06014e32769efd + canonicalized_ast: 7507e4dd7081d148a851507da3d728d435ef2919517e01732a06014e32769efd + type_inferenced_ast: ce071846a448bd392dbcb7a285c65f235daf29f9b398a8445948e6a261aa8b13 diff --git a/tests/expectations/compiler/compiler/integers/i8/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/i8/console_assert.leo.out index ef090731fb..f273dc87f6 100644 --- a/tests/expectations/compiler/compiler/integers/i8/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/console_assert.leo.out @@ -1,4 +1,19 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 31 + num_constraints: 31 + at: 8111e478f64beb722ec96fbd80076cb73b735813b20e8f2ed6e3c21febceaae7 + bt: c2cfac5aa6e125cb6cde720b0598fef7933c4aa62926fe99405bf1c2829dd4ce + ct: a3fa97a403ebea95a47d7ded7c01cee45af74afbfa876c203e4e96f6054b8815 + output: + - input_file: i8.in + output: + registers: {} + initial_ast: 17b1eb126e8cb1e246f071e8ad20a25eee7a8abd80e3681e525439292221632c + imports_resolved_ast: 17b1eb126e8cb1e246f071e8ad20a25eee7a8abd80e3681e525439292221632c + canonicalized_ast: 6db2d0a6b45f27e9e9b8c840e91d602b11922ab7781c5d98634c80ebad314766 + type_inferenced_ast: b2c9bddf865c2f5682da9a10df552b6d6170ca2dcf45839470a745a1fce2ecda diff --git a/tests/expectations/compiler/compiler/integers/i8/div.leo.out b/tests/expectations/compiler/compiler/integers/i8/div.leo.out index ef090731fb..50f03674fa 100644 --- a/tests/expectations/compiler/compiler/integers/i8/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1150 + num_constraints: 1438 + at: ea4e10bc92af056bb4b3797063565094853fe4ba595f03fd6d4a8a0fc30ca195 + bt: a41852ab8ac16bc91220ddd5b2fd1dacf3bebb624715cf2c3dc53f5dd172da9b + ct: 0449683ea39f4822da71f08082f051f005ecf6b846ab99e48c6ab9ac5aaa75be + output: + - input_file: i8.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 832849cc580efd35a4f63217783eb380f94620f893f13a64769a01a30f4c1434 + imports_resolved_ast: 832849cc580efd35a4f63217783eb380f94620f893f13a64769a01a30f4c1434 + canonicalized_ast: 832849cc580efd35a4f63217783eb380f94620f893f13a64769a01a30f4c1434 + type_inferenced_ast: a0af076a419008b086212d675a91408ce30ffe05ff21ab32c1968f20b04f29d7 diff --git a/tests/expectations/compiler/compiler/integers/i8/eq.leo.out b/tests/expectations/compiler/compiler/integers/i8/eq.leo.out index ef090731fb..9161c8b17a 100644 --- a/tests/expectations/compiler/compiler/integers/i8/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/eq.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 33 + num_constraints: 33 + at: 424965aff58c62dd2bf38daa6426a3edcc19aa86bff3842fe4e73f743d37e1cb + bt: 03d1b6a8fdf9f73f595cf97261f1bae81000c89364c7af58f4f7f04aba7bac30 + ct: 2aae7d6631260dcaafbfe9709ade84e75f5172a9baad48e108e7264d5fc17cf6 + output: + - input_file: i8.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 00e6ec9c3cffe65504b49e598aee8b7c8c59823f9c1c8954d659c00704f6e12e + imports_resolved_ast: 00e6ec9c3cffe65504b49e598aee8b7c8c59823f9c1c8954d659c00704f6e12e + canonicalized_ast: 00e6ec9c3cffe65504b49e598aee8b7c8c59823f9c1c8954d659c00704f6e12e + type_inferenced_ast: 8d64e2540f69eb74fe27f35f221c854a71b5fdfcc1364a54c45ce742bbec9a20 diff --git a/tests/expectations/compiler/compiler/integers/i8/ge.leo.out b/tests/expectations/compiler/compiler/integers/i8/ge.leo.out index ef090731fb..1d340dcd00 100644 --- a/tests/expectations/compiler/compiler/integers/i8/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/ge.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 57 + num_constraints: 57 + at: 0c041f98ae4465c405aa6cf9dfb23157cee029c4ba12162385a49d230eaea769 + bt: a55f11270f22104142bcee90897c9d9a8463b2fa9043957f85d82725f4bb075e + ct: 5a4c4f077603c1f7c4b31cf17fee281ab3cb7d2a9571be40a2f3a88577759477 + output: + - input_file: i8_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i8_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 1e21bb732ec541ff7a980ab309747c26b105354577ff211f1dd7712f059232f5 + imports_resolved_ast: 1e21bb732ec541ff7a980ab309747c26b105354577ff211f1dd7712f059232f5 + canonicalized_ast: 1e21bb732ec541ff7a980ab309747c26b105354577ff211f1dd7712f059232f5 + type_inferenced_ast: 9cd5f4bc30be5e47771f86af4a03f7731a408abca3451e8edbd1791f20c7b54e diff --git a/tests/expectations/compiler/compiler/integers/i8/gt.leo.out b/tests/expectations/compiler/compiler/integers/i8/gt.leo.out index ef090731fb..b18fcf2599 100644 --- a/tests/expectations/compiler/compiler/integers/i8/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/gt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 57 + num_constraints: 57 + at: fd43cbc2bdaa1e99408e9ca7bd13774576b88c884f64a153fbd8ba2a710c0b42 + bt: 4a959c05229442ca476ef20cfe1988fab90d5ca1b8f1c75f75719d475030c086 + ct: 5a4c4f077603c1f7c4b31cf17fee281ab3cb7d2a9571be40a2f3a88577759477 + output: + - input_file: i8_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i8_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 7108a8fe50fbe2b7386ef743b0627f75a4c282821f10e76713672f94830d2cbb + imports_resolved_ast: 7108a8fe50fbe2b7386ef743b0627f75a4c282821f10e76713672f94830d2cbb + canonicalized_ast: 7108a8fe50fbe2b7386ef743b0627f75a4c282821f10e76713672f94830d2cbb + type_inferenced_ast: 7a23bf5cda0089bdb57387dd291bf63a93f77f83748f0d8f90ebf6c32e458c95 diff --git a/tests/expectations/compiler/compiler/integers/i8/le.leo.out b/tests/expectations/compiler/compiler/integers/i8/le.leo.out index ef090731fb..966c759f5d 100644 --- a/tests/expectations/compiler/compiler/integers/i8/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/le.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 57 + num_constraints: 57 + at: 5a23ebca65ed09a730f98babb863f4b6c166d80b0e97790788b5b2c1ed0e3f8a + bt: 13756f3827f4f5f9c3d57ac57364366b9716cd3474416861f9aa9fe7a79206d0 + ct: 5a4c4f077603c1f7c4b31cf17fee281ab3cb7d2a9571be40a2f3a88577759477 + output: + - input_file: i8_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i8_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 40f8e855fce1d652c99ceb24edaacbe328ae159382b1ce13170c63669f4301e3 + imports_resolved_ast: 40f8e855fce1d652c99ceb24edaacbe328ae159382b1ce13170c63669f4301e3 + canonicalized_ast: 40f8e855fce1d652c99ceb24edaacbe328ae159382b1ce13170c63669f4301e3 + type_inferenced_ast: 66d57cbb8408f594263277a42765cc12fcdc97db2fbc322191df5a39ab2f7040 diff --git a/tests/expectations/compiler/compiler/integers/i8/lt.leo.out b/tests/expectations/compiler/compiler/integers/i8/lt.leo.out index ef090731fb..fdd7e21c80 100644 --- a/tests/expectations/compiler/compiler/integers/i8/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 57 + num_constraints: 57 + at: b93e8bf8fef6bb33a2552fc46f20f842010f187164d846f84b2a8618628c59a9 + bt: 2edb58dffc1fb55bd54dd589b8fb4cf15292f14cc2e9d478bb372b57c958ead9 + ct: 5a4c4f077603c1f7c4b31cf17fee281ab3cb7d2a9571be40a2f3a88577759477 + output: + - input_file: i8_l.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i8_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: df68f7c978cd30eff24891875fe147f6e24ce56b328d7207814ddeb5ada6bf13 + imports_resolved_ast: df68f7c978cd30eff24891875fe147f6e24ce56b328d7207814ddeb5ada6bf13 + canonicalized_ast: df68f7c978cd30eff24891875fe147f6e24ce56b328d7207814ddeb5ada6bf13 + type_inferenced_ast: 23714958eb385969480b522715c5c0c5007bdad644282aab21e07b1aab965d30 diff --git a/tests/expectations/compiler/compiler/integers/i8/max.leo.out b/tests/expectations/compiler/compiler/integers/i8/max.leo.out index ef090731fb..901d82a33c 100644 --- a/tests/expectations/compiler/compiler/integers/i8/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: af42ac6f8eb44ea7890e558b2d50b67db5ab53e74022c6426aa7a63edfdf43ec + imports_resolved_ast: af42ac6f8eb44ea7890e558b2d50b67db5ab53e74022c6426aa7a63edfdf43ec + canonicalized_ast: af42ac6f8eb44ea7890e558b2d50b67db5ab53e74022c6426aa7a63edfdf43ec + type_inferenced_ast: 715450b67c109631ecef7e45c8ecaae33433daec07148953c070b97b856dbf2d diff --git a/tests/expectations/compiler/compiler/integers/i8/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/i8/max_fail.leo.out index 3f519cf1b5..dbd082ebcf 100644 --- a/tests/expectations/compiler/compiler/integers/i8/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '128'\n --> compiler-test:4:19\n |\n 4 | const a: i8 = 128;\n | ^^^" diff --git a/tests/expectations/compiler/compiler/integers/i8/min.leo.out b/tests/expectations/compiler/compiler/integers/i8/min.leo.out index ef090731fb..94ed4491b4 100644 --- a/tests/expectations/compiler/compiler/integers/i8/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 42725429d83957372ca63c97764550141db3f8851616a33460e68ad212df74ce + imports_resolved_ast: 42725429d83957372ca63c97764550141db3f8851616a33460e68ad212df74ce + canonicalized_ast: 42725429d83957372ca63c97764550141db3f8851616a33460e68ad212df74ce + type_inferenced_ast: 4e4799716883d22d1e491cf20f30104174d54c64176130dcc0fb6519a08b936d diff --git a/tests/expectations/compiler/compiler/integers/i8/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/i8/min_fail.leo.out index 3f519cf1b5..8b62f07ded 100644 --- a/tests/expectations/compiler/compiler/integers/i8/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-129'\n --> compiler-test:4:19\n |\n 4 | const a: i8 = -129;\n | ^^^^" diff --git a/tests/expectations/compiler/compiler/integers/i8/mul.leo.out b/tests/expectations/compiler/compiler/integers/i8/mul.leo.out index ef090731fb..4c0d20d093 100644 --- a/tests/expectations/compiler/compiler/integers/i8/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1536 + num_constraints: 1537 + at: 245902065d66fcdaff6db49bdd20f72f3e3e85ef6afcf2e12435ee63df39b543 + bt: 0b017985fe9a0650c67351f1cc247871e9cc9e8c907f2cb47791c5ae1a5b324a + ct: 3fb41ccb74d402bc413944e9eb543a7333552052b7781eb257d2b861659d5a09 + output: + - input_file: i8.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: c7ea692c1c4c5b5adf571bbaf8350017c123dc7de9a130d1d3c6d92065f76b30 + imports_resolved_ast: c7ea692c1c4c5b5adf571bbaf8350017c123dc7de9a130d1d3c6d92065f76b30 + canonicalized_ast: c7ea692c1c4c5b5adf571bbaf8350017c123dc7de9a130d1d3c6d92065f76b30 + type_inferenced_ast: 9324477964c91456cad1ef2d1531eeeb0a8a67d85b7cf4a0e5e59bd86beb2a86 diff --git a/tests/expectations/compiler/compiler/integers/i8/ne.leo.out b/tests/expectations/compiler/compiler/integers/i8/ne.leo.out index ef090731fb..ca9eafb5c2 100644 --- a/tests/expectations/compiler/compiler/integers/i8/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/ne.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 33 + num_constraints: 33 + at: 5e88cd940df2c48a53e64a9b8589045ef766371daa5cc885df982902d9fcc754 + bt: 10b52342f8c44eb9b3335b4df9ca4136de3ad35d5b580b2ab32ae5e10bcdf3b4 + ct: 2aae7d6631260dcaafbfe9709ade84e75f5172a9baad48e108e7264d5fc17cf6 + output: + - input_file: i8_ne.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i8_e.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 727d71a97c85ff472274e9c77d09017023aa4a01ae55f5ef4cd1f34d493e10f0 + imports_resolved_ast: 727d71a97c85ff472274e9c77d09017023aa4a01ae55f5ef4cd1f34d493e10f0 + canonicalized_ast: 727d71a97c85ff472274e9c77d09017023aa4a01ae55f5ef4cd1f34d493e10f0 + type_inferenced_ast: a620d767d5f718c1bd7adb7acadc46b8fa4870d05d4b7f131ac717e3b4b825f6 diff --git a/tests/expectations/compiler/compiler/integers/i8/negate.leo.out b/tests/expectations/compiler/compiler/integers/i8/negate.leo.out index ef090731fb..f8ba9ade14 100644 --- a/tests/expectations/compiler/compiler/integers/i8/negate.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/negate.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 45 + num_constraints: 45 + at: e308c63d5f53aa3c65315a1d38ba5ee664cce7bb22aaeaab07a37a9006d909cc + bt: 43214e3563d9bc921ffc9079215a945f8450cf3c02506bd6e23144b2e18944d3 + ct: a2352ad3a95bc4b0d0ca56ac5b1bcec0cc3b62077d2c3d883f90f8bf014a8e28 + output: + - input_file: i8.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i8.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 048dee046e9726b86bc863821709b9b1b9a5f54afdce25a6bd46bd5fbb6307a2 + imports_resolved_ast: 048dee046e9726b86bc863821709b9b1b9a5f54afdce25a6bd46bd5fbb6307a2 + canonicalized_ast: 048dee046e9726b86bc863821709b9b1b9a5f54afdce25a6bd46bd5fbb6307a2 + type_inferenced_ast: 75838a90ef9995dc6562f4a017a4bb4fcbd455a6d1a9401db836e5844c22aea3 diff --git a/tests/expectations/compiler/compiler/integers/i8/negate_min.leo.out b/tests/expectations/compiler/compiler/integers/i8/negate_min.leo.out index 3f519cf1b5..cc8f46e1c2 100644 --- a/tests/expectations/compiler/compiler/integers/i8/negate_min.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/negate_min.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376083]: integer operation failed due to the signed integer error `Integer overflow`\n --> compiler-test:5:15\n |\n 5 | const b = -a;\n | ^^" diff --git a/tests/expectations/compiler/compiler/integers/i8/negate_zero.leo.out b/tests/expectations/compiler/compiler/integers/i8/negate_zero.leo.out index ef090731fb..c9aca1e50a 100644 --- a/tests/expectations/compiler/compiler/integers/i8/negate_zero.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/negate_zero.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: f4eb2af96d56786f773843ae4a471cc27884a1d2427c4995b4303635d2341a3a + imports_resolved_ast: f4eb2af96d56786f773843ae4a471cc27884a1d2427c4995b4303635d2341a3a + canonicalized_ast: f4eb2af96d56786f773843ae4a471cc27884a1d2427c4995b4303635d2341a3a + type_inferenced_ast: 55a75c5ff5da70a4312ac3cdc1579f754ad578570160cafd05c67c1049344b3a diff --git a/tests/expectations/compiler/compiler/integers/i8/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/i8/no_space_between_literal.leo.out index 3f519cf1b5..5a8f095af1 100644 --- a/tests/expectations/compiler/compiler/integers/i8/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and i8\n --> compiler-test:4:15\n |\n 4 | const i = 1 i8;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/i8/sub.leo.out b/tests/expectations/compiler/compiler/integers/i8/sub.leo.out index ef090731fb..44189647b2 100644 --- a/tests/expectations/compiler/compiler/integers/i8/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 98 + num_constraints: 99 + at: f5fc42455c37ae32df3b6d311ff2204dce57fa397f524fe0854ad9ffb3ff5c36 + bt: 35a61219fd7bf101cf1a1a66ad2f71df661d6dc9dda2ed9df12c7650164559aa + ct: 85ae6ad5b3f62dc914806dac5751645342d399c583d6b6b00cd9e67f738aab30 + output: + - input_file: i8.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2c5edc8449cb6cce29bb2a02b8e3c346ab6cfd7df9cae0a00ee243999586e1a3 + imports_resolved_ast: 2c5edc8449cb6cce29bb2a02b8e3c346ab6cfd7df9cae0a00ee243999586e1a3 + canonicalized_ast: 2c5edc8449cb6cce29bb2a02b8e3c346ab6cfd7df9cae0a00ee243999586e1a3 + type_inferenced_ast: c39c0bb54e8aad9f3b59c59d2437bfcb776d26dde9c8382bae06caf1902d92ae diff --git a/tests/expectations/compiler/compiler/integers/i8/ternary.leo.out b/tests/expectations/compiler/compiler/integers/i8/ternary.leo.out index ef090731fb..41fd97e1fa 100644 --- a/tests/expectations/compiler/compiler/integers/i8/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/i8/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 56 + num_constraints: 64 + at: a15ec92a38acf1a47952df144e5299f49dbde96fbe1a3f3b2af4bbca483d65aa + bt: 90a2489533355ee3e27d5cf485612441ec10e21923eb78e6be21633ce11fa8f1 + ct: 4c2d67fc6e1c4ad44f323c1b958ed94313153573aa72a3c0f0d25b17b54e63bc + output: + - input_file: i8.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: i8_rev.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 5b3ece3765ccc07057987288af24aa37205ddf5fc38146057f6a2f042d52e2ff + imports_resolved_ast: 5b3ece3765ccc07057987288af24aa37205ddf5fc38146057f6a2f042d52e2ff + canonicalized_ast: 5b3ece3765ccc07057987288af24aa37205ddf5fc38146057f6a2f042d52e2ff + type_inferenced_ast: ed6896d5e12795fbf9705edb4ff13a68fff3d920aa01cb40b73c25b9c6e36663 diff --git a/tests/expectations/compiler/compiler/integers/u128/add.leo.out b/tests/expectations/compiler/compiler/integers/u128/add.leo.out index ef090731fb..8c558529ab 100644 --- a/tests/expectations/compiler/compiler/integers/u128/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 769 + num_constraints: 770 + at: 46a7cb5b4abbe0c2a583d206d68549c1d2dacbc295a7e98ab603b1e589a748ed + bt: 3bd68a594ade714a6dce154fa8fe1b206c3339d591863157d5d4a30e82be8c38 + ct: ee4814a6df109d34265d062047ac22141174bab478caf254c5623f917c5d7a66 + output: + - input_file: u128.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ba86672003228d42172ddb6064b6c18793cd2b10368476457a5765d72da968bb + imports_resolved_ast: ba86672003228d42172ddb6064b6c18793cd2b10368476457a5765d72da968bb + canonicalized_ast: ba86672003228d42172ddb6064b6c18793cd2b10368476457a5765d72da968bb + type_inferenced_ast: 90f8e8d95d0489fe8412b8b011c96cc3297fed62522f35dda922ffe5bc8e5eb7 diff --git a/tests/expectations/compiler/compiler/integers/u128/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/u128/console_assert.leo.out index ef090731fb..2c938e0941 100644 --- a/tests/expectations/compiler/compiler/integers/u128/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/console_assert.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 766 + num_constraints: 766 + at: fc8f29e5d4a184ccde7548e9a88adf215d9745a7a1f38cb41e6046c00f684f92 + bt: a6020f3baa81181dab1735218a3d3c8a2504b7f30c6c73c0c12e8edf0aa403b6 + ct: 22bcd53d2a96f7cf838f37fb01781267764156a778d5b2df80572f5030de4b0f + output: + - input_file: u128.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ad919602ee4b538d6500101020bef0d5eab3f0737c717eeb26a4eb223b20ec2e + imports_resolved_ast: ad919602ee4b538d6500101020bef0d5eab3f0737c717eeb26a4eb223b20ec2e + canonicalized_ast: ad919602ee4b538d6500101020bef0d5eab3f0737c717eeb26a4eb223b20ec2e + type_inferenced_ast: 7ddb15730afe53d6cfd7831572139ec4d846fa9f02bdae1955352b002c4bb2eb diff --git a/tests/expectations/compiler/compiler/integers/u128/div.leo.out b/tests/expectations/compiler/compiler/integers/u128/div.leo.out index ef090731fb..a628da7ba8 100644 --- a/tests/expectations/compiler/compiler/integers/u128/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 263418 + num_constraints: 329465 + at: 7f9291f6c2c9d381cb6d96c1b958eb025a7fa82d19065612225198341d8ed37d + bt: e26d177238ab12a9e8091dfb18f68e0e82d410b1ebce7c8633bd0a4973f5db2f + ct: f36c23bcc522e47f2efe7c42ec8f9bccfb980c46c71d03f69222eb87a3aa6dd5 + output: + - input_file: u128.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2f1e3590db8fd98beb8eec3b15e51932dc50f6acccca4d89a04d9e4e45719a93 + imports_resolved_ast: 2f1e3590db8fd98beb8eec3b15e51932dc50f6acccca4d89a04d9e4e45719a93 + canonicalized_ast: 2f1e3590db8fd98beb8eec3b15e51932dc50f6acccca4d89a04d9e4e45719a93 + type_inferenced_ast: f7edc6e2efd7b862eafc38618b8d86ec92e270fbab2cf2f568b8f2e5feecc28a diff --git a/tests/expectations/compiler/compiler/integers/u128/eq.leo.out b/tests/expectations/compiler/compiler/integers/u128/eq.leo.out index ef090731fb..fb7f3e8e90 100644 --- a/tests/expectations/compiler/compiler/integers/u128/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/eq.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 513 + num_constraints: 513 + at: 75b34d698fc2359df51943102062181aa5ee62b84a221747dfd7f8868bf48efd + bt: c1e085f0d8047bc5b5f574ca9de7d79a0ce3b3235e3bfb83ff15aecf05ad1323 + ct: c224fec21cf5a2b24eb94033a20aeb4729d3d0cf596339145cb49ea6a44cc5d8 + output: + - input_file: u128_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u128_n.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: be16e6c68a47140cb65dfd6fa6ae2084799092b353a4d7bbbbe6ea3cba689c48 + imports_resolved_ast: be16e6c68a47140cb65dfd6fa6ae2084799092b353a4d7bbbbe6ea3cba689c48 + canonicalized_ast: be16e6c68a47140cb65dfd6fa6ae2084799092b353a4d7bbbbe6ea3cba689c48 + type_inferenced_ast: 70dabec56f6de97872802c0b63e48dc68b921c7bba5e526ee16f443973c1c35d diff --git a/tests/expectations/compiler/compiler/integers/u128/ge.leo.out b/tests/expectations/compiler/compiler/integers/u128/ge.leo.out index ef090731fb..e76870ad68 100644 --- a/tests/expectations/compiler/compiler/integers/u128/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/ge.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 897 + num_constraints: 897 + at: 8c535817cf7f33927b88bddc0b246636aea9421a249b5025229c513521a43cdd + bt: 75543c2d7e977fd59df93d598b3ba1ab92b7e6048a823fb41969668e29286a6b + ct: 8d7309bdb692a71de6c9efc246984ce389534e8fc31222a94d5217720c2d20e9 + output: + - input_file: u128_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u128_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u128_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: caca64001b0311d16373bfa5ce2f040cf054551675f664bd93f68b8a381ccc0b + imports_resolved_ast: caca64001b0311d16373bfa5ce2f040cf054551675f664bd93f68b8a381ccc0b + canonicalized_ast: caca64001b0311d16373bfa5ce2f040cf054551675f664bd93f68b8a381ccc0b + type_inferenced_ast: ad84a0f1e55ece76d7989d24b048f59e40af35918495fb0c7d9a023b810645d0 diff --git a/tests/expectations/compiler/compiler/integers/u128/gt.leo.out b/tests/expectations/compiler/compiler/integers/u128/gt.leo.out index ef090731fb..9219d787db 100644 --- a/tests/expectations/compiler/compiler/integers/u128/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/gt.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 897 + num_constraints: 897 + at: f53fbab433e2588176ab0a5677a6d546a108e5a98abe79ccb5abbc57a4181afd + bt: 2005303715fb1fda8dbf03970acb45982b78b7c61034b172e9ea3cd363a013f8 + ct: 8d7309bdb692a71de6c9efc246984ce389534e8fc31222a94d5217720c2d20e9 + output: + - input_file: u128_g.in + output: + registers: {} + - input_file: u128_f.in + output: + registers: {} + initial_ast: 820ed988d142189cd95bfc559ded7f9de3a1327338e47844a7a2200d79af56a9 + imports_resolved_ast: 820ed988d142189cd95bfc559ded7f9de3a1327338e47844a7a2200d79af56a9 + canonicalized_ast: 3392a949832c1db83f1280df3ca8c03a4fbc0645a31325a055b63c9e44d50cdd + type_inferenced_ast: 5561d2a1ae0ff0c81d9cf1f4b9daf4ab75897efb06e87e8904492919f0d9f7f2 diff --git a/tests/expectations/compiler/compiler/integers/u128/input.leo.out b/tests/expectations/compiler/compiler/integers/u128/input.leo.out index ef090731fb..2cf493020d 100644 --- a/tests/expectations/compiler/compiler/integers/u128/input.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/input.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 511 + num_constraints: 511 + at: f130bde196ac7e190b505a42dfb30c41772c4c7eafe9e7203be9222892b767ce + bt: 7ac37b347f82644239128aa66e9caf34375b1fd860069659581477883d92fb7a + ct: 3e4c7833e73f9ee37e42c796e8af7a6d417a012b776b348abedbfd317110858d + output: + - input_file: u128_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 725037d892c3a0d37394849bb896f53665de6bfb21ecbf07ca498c58a50febac + imports_resolved_ast: 725037d892c3a0d37394849bb896f53665de6bfb21ecbf07ca498c58a50febac + canonicalized_ast: 725037d892c3a0d37394849bb896f53665de6bfb21ecbf07ca498c58a50febac + type_inferenced_ast: 792c1e73125395e09c23e92e715b83a86bbcc337f5bca3a6a7a4ae6719e85143 diff --git a/tests/expectations/compiler/compiler/integers/u128/le.leo.out b/tests/expectations/compiler/compiler/integers/u128/le.leo.out index ef090731fb..42c486ba6e 100644 --- a/tests/expectations/compiler/compiler/integers/u128/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/le.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 897 + num_constraints: 897 + at: 3898b682c2301fc8f7812b25fafec37b2382eede8f6e86d20bf9468c8b7e4a74 + bt: 8e0a2864aa6383434f6d7843e06d6594b85a65b2009c612f72b3d8c6f07fb4ef + ct: 8d7309bdb692a71de6c9efc246984ce389534e8fc31222a94d5217720c2d20e9 + output: + - input_file: u128_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u128_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u128_l.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: a2c1fd53a31ef6621356b270a00943ccdae328cd449fafa6c9e23d59ba32be17 + imports_resolved_ast: a2c1fd53a31ef6621356b270a00943ccdae328cd449fafa6c9e23d59ba32be17 + canonicalized_ast: a2c1fd53a31ef6621356b270a00943ccdae328cd449fafa6c9e23d59ba32be17 + type_inferenced_ast: bf6dab074ed66340481a8690067e8272bd202f9d6eeb4c53102a4114051e5117 diff --git a/tests/expectations/compiler/compiler/integers/u128/lt.leo.out b/tests/expectations/compiler/compiler/integers/u128/lt.leo.out index ef090731fb..f6780a1416 100644 --- a/tests/expectations/compiler/compiler/integers/u128/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 897 + num_constraints: 897 + at: 8bc0a661fdc05173ef7b37762e7f6fdd9e5788a8fa17b7b7d485b8ffbbdeb7c5 + bt: 1669da8e0d67919ecf7e28a3727b73be52d08f9af5feb640a8cd6f2d302caa07 + ct: 8d7309bdb692a71de6c9efc246984ce389534e8fc31222a94d5217720c2d20e9 + output: + - input_file: u128_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u128_g.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 5c1e4693b718191aa0f3071ec02509a38ff2a8017ce0641ff0142f2bfa7da96a + imports_resolved_ast: 5c1e4693b718191aa0f3071ec02509a38ff2a8017ce0641ff0142f2bfa7da96a + canonicalized_ast: 5c1e4693b718191aa0f3071ec02509a38ff2a8017ce0641ff0142f2bfa7da96a + type_inferenced_ast: 6453c5fa284e2b06dbe031d7411f2d59388c75d4f3f18d2b48c4df5f91c7d870 diff --git a/tests/expectations/compiler/compiler/integers/u128/max.leo.out b/tests/expectations/compiler/compiler/integers/u128/max.leo.out index ef090731fb..0380abce37 100644 --- a/tests/expectations/compiler/compiler/integers/u128/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: c0f6616cbef7676909cabcc405f75fefd1807abdacbe00d81069f7ba074372d5 + imports_resolved_ast: c0f6616cbef7676909cabcc405f75fefd1807abdacbe00d81069f7ba074372d5 + canonicalized_ast: c0f6616cbef7676909cabcc405f75fefd1807abdacbe00d81069f7ba074372d5 + type_inferenced_ast: 6d956778ffaa3453c3af36f0d8b84fc62aff73c71f5a685421b2a310fc036121 diff --git a/tests/expectations/compiler/compiler/integers/u128/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/u128/max_fail.leo.out index 3f519cf1b5..379df98977 100644 --- a/tests/expectations/compiler/compiler/integers/u128/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '340282366920938463463374607431768211456'\n --> compiler-test:4:21\n |\n 4 | const a: u128 = 340282366920938463463374607431768211456;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/u128/min.leo.out b/tests/expectations/compiler/compiler/integers/u128/min.leo.out index ef090731fb..ec563dd1bb 100644 --- a/tests/expectations/compiler/compiler/integers/u128/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 9151781352023ac8d55f9c28b1c00ebd782f0ebdc9fc0d431eacc82abdc895c1 + imports_resolved_ast: 9151781352023ac8d55f9c28b1c00ebd782f0ebdc9fc0d431eacc82abdc895c1 + canonicalized_ast: 9151781352023ac8d55f9c28b1c00ebd782f0ebdc9fc0d431eacc82abdc895c1 + type_inferenced_ast: 037701324af5adc4f453a37faef5c91eee6aabd37e3aa3c612203c41e4602b66 diff --git a/tests/expectations/compiler/compiler/integers/u128/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/u128/min_fail.leo.out index 3f519cf1b5..2decda5aa3 100644 --- a/tests/expectations/compiler/compiler/integers/u128/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-1'\n --> compiler-test:4:21\n |\n 4 | const a: u128 = -1;\n | ^^" diff --git a/tests/expectations/compiler/compiler/integers/u128/mul.leo.out b/tests/expectations/compiler/compiler/integers/u128/mul.leo.out index ef090731fb..d063a3ddf7 100644 --- a/tests/expectations/compiler/compiler/integers/u128/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 50431 + num_constraints: 66944 + at: 76a413f70472403c5adeed7a79d4c2a43f5b24850b4874fff1f6a323d4396a65 + bt: 011ebf5dd53ae194c7135690f3bc6307a362ea10ba113e19ae7195be6ab375a9 + ct: 147b92b75d75f78bed11d65294d9ae2479b8ab32f98521755557fd54076f3c07 + output: + - input_file: mul.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 9bacdd7f562607e16f88a6cc64a6093fd09e678f8a09d485edb6e1e9cffb90e4 + imports_resolved_ast: 9bacdd7f562607e16f88a6cc64a6093fd09e678f8a09d485edb6e1e9cffb90e4 + canonicalized_ast: 9bacdd7f562607e16f88a6cc64a6093fd09e678f8a09d485edb6e1e9cffb90e4 + type_inferenced_ast: 2fb1d8964dccf7acfc38e37cf41d859c30e19b052470ed54923b944fe8ec9b15 diff --git a/tests/expectations/compiler/compiler/integers/u128/ne.leo.out b/tests/expectations/compiler/compiler/integers/u128/ne.leo.out index ef090731fb..507b010140 100644 --- a/tests/expectations/compiler/compiler/integers/u128/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/ne.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 513 + num_constraints: 513 + at: 8f9d3ef916a970cb762ca6f3829a8b4897dc65d493a2ea2eb4fa812a2062fe67 + bt: edc1de9388a8bb2c659c9b4e9deecd8406826abcfe220d295bf7d85a550c0c43 + ct: c224fec21cf5a2b24eb94033a20aeb4729d3d0cf596339145cb49ea6a44cc5d8 + output: + - input_file: ne.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6796d9b74beb8daf62ccd75c5a5bcb5942d00742e35e558dcd49e4accf571458 + imports_resolved_ast: 6796d9b74beb8daf62ccd75c5a5bcb5942d00742e35e558dcd49e4accf571458 + canonicalized_ast: 6796d9b74beb8daf62ccd75c5a5bcb5942d00742e35e558dcd49e4accf571458 + type_inferenced_ast: 1a122fec3c383117b7241a98a77518aa07fc495bf5724a721439e3d2c561b770 diff --git a/tests/expectations/compiler/compiler/integers/u128/negative_input_fail.leo.out b/tests/expectations/compiler/compiler/integers/u128/negative_input_fail.leo.out index 3f519cf1b5..e5b8fb94a9 100644 --- a/tests/expectations/compiler/compiler/integers/u128/negative_input_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/negative_input_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376089]: failed to parse `-2` as expected integer type\n --> compiler-test:3:15\n |\n 3 | function main(a: u128) {}\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u128/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/u128/no_space_between_literal.leo.out index 3f519cf1b5..b53dbf17a5 100644 --- a/tests/expectations/compiler/compiler/integers/u128/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and u128\n --> compiler-test:4:15\n |\n 4 | const i = 1 u128;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u128/sub.leo.out b/tests/expectations/compiler/compiler/integers/u128/sub.leo.out index ef090731fb..e120fc8c02 100644 --- a/tests/expectations/compiler/compiler/integers/u128/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 769 + num_constraints: 770 + at: 46a7cb5b4abbe0c2a583d206d68549c1d2dacbc295a7e98ab603b1e589a748ed + bt: 3bd68a594ade714a6dce154fa8fe1b206c3339d591863157d5d4a30e82be8c38 + ct: 950ff5f999ac2edfb80654ff5270b048ac8a19131c655af6d145533a9ef97c6f + output: + - input_file: u128_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 22b1398c07fa127567d547dec76a9db42d17dfbfd3c381fd9b597e6d54ebe520 + imports_resolved_ast: 22b1398c07fa127567d547dec76a9db42d17dfbfd3c381fd9b597e6d54ebe520 + canonicalized_ast: 22b1398c07fa127567d547dec76a9db42d17dfbfd3c381fd9b597e6d54ebe520 + type_inferenced_ast: 9378705614f9bb993d720e7ab3b9ad2bb6f9566c355ad8e6efdc35ed804ed1f9 diff --git a/tests/expectations/compiler/compiler/integers/u128/ternary.leo.out b/tests/expectations/compiler/compiler/integers/u128/ternary.leo.out index ef090731fb..b82d2a83e7 100644 --- a/tests/expectations/compiler/compiler/integers/u128/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/u128/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 896 + num_constraints: 1024 + at: 0830a3e788b536b36f271fadaadcc919281b2171d4e18814385b74f6820cb5c9 + bt: 1fb9bfc22c01a54c08602e7f3883c19b00de1070aa9bad9e9234e322f9043711 + ct: ee9facabe4c76f5eb89984d3c5cb15f92eaa0cc3b4bc4fdff261aeb36ad0101b + output: + - input_file: u128_t.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u128_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d8edd41c3446a777f3d2b0b033cee9135477ebee6a559854906789ac31db6a9a + imports_resolved_ast: d8edd41c3446a777f3d2b0b033cee9135477ebee6a559854906789ac31db6a9a + canonicalized_ast: d8edd41c3446a777f3d2b0b033cee9135477ebee6a559854906789ac31db6a9a + type_inferenced_ast: 0a750c50386c174281af10df1a1ab346b11fa42554a4378fa03b4846afd960b6 diff --git a/tests/expectations/compiler/compiler/integers/u16/add.leo.out b/tests/expectations/compiler/compiler/integers/u16/add.leo.out index ef090731fb..31bc564fcf 100644 --- a/tests/expectations/compiler/compiler/integers/u16/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 96 + num_constraints: 97 + at: 370387ad947bfe3a763fa62847b00f95580ec1c1b754cf600e06b313a84044ec + bt: c404ca4ebed24418ea98c0994a710e335e65d373114e9e1be5ba5354ced20806 + ct: 7413addd13f168a5677d482e41bd131e5773eca1ab5c5bd62829ed0b67fd3508 + output: + - input_file: u16.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: eb6419bbaed4c761e2c76e927f773367006508a4721ea1c70cd633fe47976545 + imports_resolved_ast: eb6419bbaed4c761e2c76e927f773367006508a4721ea1c70cd633fe47976545 + canonicalized_ast: eb6419bbaed4c761e2c76e927f773367006508a4721ea1c70cd633fe47976545 + type_inferenced_ast: 4da352adef1ef9a4d872afa8c0a563d66058c4b5f2c7ae6e1d6e76f9d0e6f828 diff --git a/tests/expectations/compiler/compiler/integers/u16/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/u16/console_assert.leo.out index ef090731fb..11f505cb32 100644 --- a/tests/expectations/compiler/compiler/integers/u16/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/console_assert.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 94 + num_constraints: 94 + at: 6ed4469920fbabddf709f8603a84e89ce62e33de0c1728efada4b412dbc9efb6 + bt: 7a2ed9c91a2df8eed7704b5a71f92b9e20beeade151f02135169ab5f4ca69b6a + ct: 09526721ae1dd7355e4608df2b3eabc5c7007bceb8c6b99389aa8160c63a8982 + output: + - input_file: u16.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d530ffa650127824ba18491674144411e798de3f154c8cf6a2a7972739df7512 + imports_resolved_ast: d530ffa650127824ba18491674144411e798de3f154c8cf6a2a7972739df7512 + canonicalized_ast: d530ffa650127824ba18491674144411e798de3f154c8cf6a2a7972739df7512 + type_inferenced_ast: d5482fa8b8ade8232890a04bc9d29c9bf9f02a4dc9d49cfbe5595836a0fdabfc diff --git a/tests/expectations/compiler/compiler/integers/u16/div.leo.out b/tests/expectations/compiler/compiler/integers/u16/div.leo.out index ef090731fb..3fc719f817 100644 --- a/tests/expectations/compiler/compiler/integers/u16/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 4188 + num_constraints: 5275 + at: f1b7abc9150b53dfc10ee7e67e8c985a07f4e0169cd1e8ed234c67c14019f669 + bt: ce2d469f0b5ace885987081e8dca6a93f663d3f90317850debc36b4fa3ebed96 + ct: 5ecb4125316e7086ed355d51b635965c19ce3f234575dd3e521c187714c00dda + output: + - input_file: u16.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 41193e8e4d4bb9d346c56a0a2630ccc9c46003d3a72a215945c74af3aede4606 + imports_resolved_ast: 41193e8e4d4bb9d346c56a0a2630ccc9c46003d3a72a215945c74af3aede4606 + canonicalized_ast: 41193e8e4d4bb9d346c56a0a2630ccc9c46003d3a72a215945c74af3aede4606 + type_inferenced_ast: 9aa867a159c530813bd8a1805fb093a208edcaf48466be37b18c311cc3590782 diff --git a/tests/expectations/compiler/compiler/integers/u16/eq.leo.out b/tests/expectations/compiler/compiler/integers/u16/eq.leo.out index ef090731fb..4e75571070 100644 --- a/tests/expectations/compiler/compiler/integers/u16/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/eq.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 65 + num_constraints: 65 + at: 8c8b795ef4142f2651625b90b3624d24de5138c3fb0981288a8cc5e12bf31f82 + bt: eba2113bdda3d667d9e8c87f545fe4e2a0143b18a3fff0c1aaa46dd376ed1735 + ct: f037d279ccea3ca689e05801ec3ba0053b5ce66a1763d4620262ea9b69873008 + output: + - input_file: u16_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u16_n.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: b45f803365a72727350696859672c162fa18a9b2b97b3c155a03cb1bf74f9e68 + imports_resolved_ast: b45f803365a72727350696859672c162fa18a9b2b97b3c155a03cb1bf74f9e68 + canonicalized_ast: b45f803365a72727350696859672c162fa18a9b2b97b3c155a03cb1bf74f9e68 + type_inferenced_ast: d34a794b0695b41198003b21773b5abd4b4aa044de22a346301158aabb005d8e diff --git a/tests/expectations/compiler/compiler/integers/u16/ge.leo.out b/tests/expectations/compiler/compiler/integers/u16/ge.leo.out index ef090731fb..a72469e83e 100644 --- a/tests/expectations/compiler/compiler/integers/u16/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/ge.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 113 + num_constraints: 113 + at: c3a94f401722187113083aa4cc5bf90ec46ae91b4ac1d0ba51d765590fe51410 + bt: 43d500d0bdcdf8461bd9605a2665bc17410cb0c7b1c743142aad3a41e74fcbe5 + ct: 92784334fb47e5a53eb972ec42d95f97470117bb6839cf2d46e8fcbd38a662f9 + output: + - input_file: u16_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u16_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u16_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 05e8b0ca21ae27026fec7897079a23f522be4ecca74009c42a7d820dbf3b37dc + imports_resolved_ast: 05e8b0ca21ae27026fec7897079a23f522be4ecca74009c42a7d820dbf3b37dc + canonicalized_ast: 05e8b0ca21ae27026fec7897079a23f522be4ecca74009c42a7d820dbf3b37dc + type_inferenced_ast: f79fa9920321f18c258cdbe99fcd37b7de5ebd943bdf1a6091954c9c8501c4c0 diff --git a/tests/expectations/compiler/compiler/integers/u16/gt.leo.out b/tests/expectations/compiler/compiler/integers/u16/gt.leo.out index ef090731fb..3effd84987 100644 --- a/tests/expectations/compiler/compiler/integers/u16/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/gt.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 113 + num_constraints: 113 + at: 800702d0776e95fee2689e79fcfe570db9fbd128310fc88565e72d322bea0407 + bt: 417dc25c14bf36db410808a30f2263083728f1158cbf74a81bd8d8b5cba878d9 + ct: 92784334fb47e5a53eb972ec42d95f97470117bb6839cf2d46e8fcbd38a662f9 + output: + - input_file: u16_g.in + output: + registers: {} + - input_file: u16_f.in + output: + registers: {} + initial_ast: 07aa194712e885c67e73bd8ce425b09aa0b11a0597fd28e2b6b861c2890a7dbf + imports_resolved_ast: 07aa194712e885c67e73bd8ce425b09aa0b11a0597fd28e2b6b861c2890a7dbf + canonicalized_ast: 585b9eb84b4794b44a491f3a20919aa03b1defb10b34ff0c1ccaf16943c95498 + type_inferenced_ast: f58d2c30292c5b7066145cc1f9f103c347c69bcfd103f68a11870d436d93034c diff --git a/tests/expectations/compiler/compiler/integers/u16/input.leo.out b/tests/expectations/compiler/compiler/integers/u16/input.leo.out index ef090731fb..bb56c37ebc 100644 --- a/tests/expectations/compiler/compiler/integers/u16/input.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/input.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 63 + num_constraints: 63 + at: 781fbf42db29f7fa9c21d99e21d8f011ec22b33ad26d3f80438687aafd462285 + bt: abee7b67c55170fc3341444203a9a70e68690dce751aa36d3e91f1cf7ceef73d + ct: 51c18ee4216feeb01d0b0d661dfeb294e7e100873586edf79be89c8b54d9e168 + output: + - input_file: u16_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ce84d1a90125776ce0b144842cfdc4722338fc48bddbf027a6684704f02e71c5 + imports_resolved_ast: ce84d1a90125776ce0b144842cfdc4722338fc48bddbf027a6684704f02e71c5 + canonicalized_ast: ce84d1a90125776ce0b144842cfdc4722338fc48bddbf027a6684704f02e71c5 + type_inferenced_ast: 4f28676ebd5a0be24690d37c2625b5f5080a5ae41368bff213d41b96377d9ee0 diff --git a/tests/expectations/compiler/compiler/integers/u16/le.leo.out b/tests/expectations/compiler/compiler/integers/u16/le.leo.out index ef090731fb..765ed6181f 100644 --- a/tests/expectations/compiler/compiler/integers/u16/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/le.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 113 + num_constraints: 113 + at: ae8d8223fa654f971c969e68e926621d014e80b200e28a3bcb53f7e0760af811 + bt: 7549aaa9e0eaa389b14dbf7a0c15122a1cd9707f492b8bedee98ae8f09bd9142 + ct: 92784334fb47e5a53eb972ec42d95f97470117bb6839cf2d46e8fcbd38a662f9 + output: + - input_file: u16_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u16_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u16_l.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 4cec9681367670442f9db73b42d312321bff0f30aeec0160b5c25c3e2dd33829 + imports_resolved_ast: 4cec9681367670442f9db73b42d312321bff0f30aeec0160b5c25c3e2dd33829 + canonicalized_ast: 4cec9681367670442f9db73b42d312321bff0f30aeec0160b5c25c3e2dd33829 + type_inferenced_ast: 7cd703e68f80f112a3d93757cb906045e316616c15f781773028a4d1b4793551 diff --git a/tests/expectations/compiler/compiler/integers/u16/lt.leo.out b/tests/expectations/compiler/compiler/integers/u16/lt.leo.out index ef090731fb..851f22fa65 100644 --- a/tests/expectations/compiler/compiler/integers/u16/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 113 + num_constraints: 113 + at: f7f35cbd164c83cc4421fe89d14a349b70962c362186e237daff824054459d17 + bt: 1bbe7b7f496597bd94e86ea0452146e8360ba0b2b2d922a81cfc51b4b5fa4fda + ct: 92784334fb47e5a53eb972ec42d95f97470117bb6839cf2d46e8fcbd38a662f9 + output: + - input_file: u16_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u16_g.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 68a12590c757f5286e98808d5a22bb707166828f74d4b89716553328b57867f3 + imports_resolved_ast: 68a12590c757f5286e98808d5a22bb707166828f74d4b89716553328b57867f3 + canonicalized_ast: 68a12590c757f5286e98808d5a22bb707166828f74d4b89716553328b57867f3 + type_inferenced_ast: d1c19b097acf638840cadcbc81cc6e51fc750c2c49b84bcf36abc467d36e51f4 diff --git a/tests/expectations/compiler/compiler/integers/u16/max.leo.out b/tests/expectations/compiler/compiler/integers/u16/max.leo.out index ef090731fb..f9c3c2d5b2 100644 --- a/tests/expectations/compiler/compiler/integers/u16/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6a13120d649e7db047df9453464a4a88965409a39257b56ad8466f397ab61217 + imports_resolved_ast: 6a13120d649e7db047df9453464a4a88965409a39257b56ad8466f397ab61217 + canonicalized_ast: 6a13120d649e7db047df9453464a4a88965409a39257b56ad8466f397ab61217 + type_inferenced_ast: a08685b22ab2a58652759e3657a8246bd65e23d18fe895a0987e3567926eddc2 diff --git a/tests/expectations/compiler/compiler/integers/u16/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/u16/max_fail.leo.out index 3f519cf1b5..5589174d2d 100644 --- a/tests/expectations/compiler/compiler/integers/u16/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '65536'\n --> compiler-test:4:20\n |\n 4 | const a: u16 = 65536;\n | ^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/u16/min.leo.out b/tests/expectations/compiler/compiler/integers/u16/min.leo.out index ef090731fb..a5a6aadb9d 100644 --- a/tests/expectations/compiler/compiler/integers/u16/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 10bca9f23d35f0a354948dafb069860d71618205c9e0efb483c465c5794ee83a + imports_resolved_ast: 10bca9f23d35f0a354948dafb069860d71618205c9e0efb483c465c5794ee83a + canonicalized_ast: 10bca9f23d35f0a354948dafb069860d71618205c9e0efb483c465c5794ee83a + type_inferenced_ast: b7673715a9b643f97ea30652defed51f23f6ba79ae9ef39c81d25fd7d3bb815e diff --git a/tests/expectations/compiler/compiler/integers/u16/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/u16/min_fail.leo.out index 3f519cf1b5..6d7454bc9e 100644 --- a/tests/expectations/compiler/compiler/integers/u16/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-1'\n --> compiler-test:4:20\n |\n 4 | const a: u16 = -1;\n | ^^" diff --git a/tests/expectations/compiler/compiler/integers/u16/mul.leo.out b/tests/expectations/compiler/compiler/integers/u16/mul.leo.out index ef090731fb..b84d167f1d 100644 --- a/tests/expectations/compiler/compiler/integers/u16/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 899 + num_constraints: 1172 + at: 26bd7cae34fa05bfe268e134e02dad80d3978fdbcf60cecc47f41102c659c539 + bt: f660e7fad189d6e454e78216e0128e07d47145da1eeb6b53ed5a73cdf4fe9888 + ct: 267549c071634baac2f681f050ede9777ca6d302d8a0ca04c60f6f60e497d64e + output: + - input_file: mul.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 9b02c262401b83f83f76f3dd22aceaa0bdb1bdd196faf68bdd71e4105bd3b143 + imports_resolved_ast: 9b02c262401b83f83f76f3dd22aceaa0bdb1bdd196faf68bdd71e4105bd3b143 + canonicalized_ast: 9b02c262401b83f83f76f3dd22aceaa0bdb1bdd196faf68bdd71e4105bd3b143 + type_inferenced_ast: b5b3e21e917355dbbb35d62ee33a1f565b592dee2c62e4a56eb7521ea168c7d7 diff --git a/tests/expectations/compiler/compiler/integers/u16/ne.leo.out b/tests/expectations/compiler/compiler/integers/u16/ne.leo.out index ef090731fb..978b1e07e8 100644 --- a/tests/expectations/compiler/compiler/integers/u16/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/ne.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 65 + num_constraints: 65 + at: 83a4d089927a9811a9d4ed5b3ee2e50e395cd598de865653be04a2c51904b072 + bt: 30bc7cfbc53a2e928ca0310b6041f1f1548ad7c1197ffc9301b46522122e5561 + ct: f037d279ccea3ca689e05801ec3ba0053b5ce66a1763d4620262ea9b69873008 + output: + - input_file: ne.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 30ee8bc862393f3ffec75051160d88c703e24711dc4a742369fd824485792a44 + imports_resolved_ast: 30ee8bc862393f3ffec75051160d88c703e24711dc4a742369fd824485792a44 + canonicalized_ast: 30ee8bc862393f3ffec75051160d88c703e24711dc4a742369fd824485792a44 + type_inferenced_ast: e0f90d2b1c766550e9d7fe202705709a93771f8fce9debf3c119d0f1bf2ff19e diff --git a/tests/expectations/compiler/compiler/integers/u16/negative_input_fail.leo.out b/tests/expectations/compiler/compiler/integers/u16/negative_input_fail.leo.out index 3f519cf1b5..55d679debc 100644 --- a/tests/expectations/compiler/compiler/integers/u16/negative_input_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/negative_input_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376089]: failed to parse `-2` as expected integer type\n --> compiler-test:3:15\n |\n 3 | function main(a: u16) {}\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u16/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/u16/no_space_between_literal.leo.out index 3f519cf1b5..852084492c 100644 --- a/tests/expectations/compiler/compiler/integers/u16/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and u16\n --> compiler-test:4:15\n |\n 4 | const i = 1 u16;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u16/sub.leo.out b/tests/expectations/compiler/compiler/integers/u16/sub.leo.out index ef090731fb..c330ad2612 100644 --- a/tests/expectations/compiler/compiler/integers/u16/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 96 + num_constraints: 97 + at: 370387ad947bfe3a763fa62847b00f95580ec1c1b754cf600e06b313a84044ec + bt: c404ca4ebed24418ea98c0994a710e335e65d373114e9e1be5ba5354ced20806 + ct: 81a951fd0bc0072abf02978c9c6547c090936985ea19b50e3c148595d4870599 + output: + - input_file: u16_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 63558d4f64eb9c248b6391254bc279f1ae53c08602a35e86b73d8876ae5cbff7 + imports_resolved_ast: 63558d4f64eb9c248b6391254bc279f1ae53c08602a35e86b73d8876ae5cbff7 + canonicalized_ast: 63558d4f64eb9c248b6391254bc279f1ae53c08602a35e86b73d8876ae5cbff7 + type_inferenced_ast: f272cb2627650262ddfa289e945abddb91525bb8899c8d4d7853d9e5a398aa56 diff --git a/tests/expectations/compiler/compiler/integers/u16/ternary.leo.out b/tests/expectations/compiler/compiler/integers/u16/ternary.leo.out index ef090731fb..31197445ef 100644 --- a/tests/expectations/compiler/compiler/integers/u16/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/u16/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 112 + num_constraints: 128 + at: b0a107f586de648c8446ae3246117de3b20ba9c0249d261f234106809d112f0a + bt: 0e5faacb5d80488eeda9e7fa79ddd96e54c010e0e98571449f79cad816cc18a2 + ct: 2b3428d7c7335edc32ab219fe11c92e215d70a52c89434de349f4951561d5795 + output: + - input_file: u16_t.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u16_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: a5453842c01ff883e970a8acbc0c0164e21ab8ee9667e7d198fd02b44e4cdf56 + imports_resolved_ast: a5453842c01ff883e970a8acbc0c0164e21ab8ee9667e7d198fd02b44e4cdf56 + canonicalized_ast: a5453842c01ff883e970a8acbc0c0164e21ab8ee9667e7d198fd02b44e4cdf56 + type_inferenced_ast: 486a1e2a5f9e3eb3704f6ea039a832bfdad7a436464140933e978cee5dd42466 diff --git a/tests/expectations/compiler/compiler/integers/u32/add.leo.out b/tests/expectations/compiler/compiler/integers/u32/add.leo.out index ef090731fb..e4810ab1e5 100644 --- a/tests/expectations/compiler/compiler/integers/u32/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 192 + num_constraints: 193 + at: 6cb7221b25d9868ec3dfc97292d22e7b9b7e7571ffd39a14523c2dcd6ee63c60 + bt: db97ec2b7f2b40889263b26fc6f01de19f78a4b007371ad2f54869e9a31d21db + ct: 2773a172ee849b2e45b68f0c367651fc5a0715e9415d2d97601d41e540d713d0 + output: + - input_file: u32.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 3ca20068a4f2cc3ce017686240c82a7320f94700e9068448d7bbcaa6c8d11afd + imports_resolved_ast: 3ca20068a4f2cc3ce017686240c82a7320f94700e9068448d7bbcaa6c8d11afd + canonicalized_ast: 3ca20068a4f2cc3ce017686240c82a7320f94700e9068448d7bbcaa6c8d11afd + type_inferenced_ast: 6f31cebf6905062ec9c55324ee499173987eb04820414eeda3a6696a9a4df4e5 diff --git a/tests/expectations/compiler/compiler/integers/u32/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/u32/console_assert.leo.out index ef090731fb..3990b9d39e 100644 --- a/tests/expectations/compiler/compiler/integers/u32/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/console_assert.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 190 + num_constraints: 190 + at: a1a80b7c355e1fa32c2136c4dc7a0fd0670affbdda869a9161a3a69f396c6b9a + bt: fbf306d0d13bf3d40926ad7adc07f122cb8d065e7e5d55f3416ac30d7ebe7a7c + ct: 97e2acff1b76912c52107342393ec04a09af81353a25f7ce330b8492f41381cf + output: + - input_file: u32.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 00f676e0063c85f5caa851dd5e1e9061cbdf79c85da857d6e5d89d42cda9651b + imports_resolved_ast: 00f676e0063c85f5caa851dd5e1e9061cbdf79c85da857d6e5d89d42cda9651b + canonicalized_ast: 00f676e0063c85f5caa851dd5e1e9061cbdf79c85da857d6e5d89d42cda9651b + type_inferenced_ast: 20a848a26a90c695b25384daf05ebc98716ec0951992087dfc4370e15920b805 diff --git a/tests/expectations/compiler/compiler/integers/u32/div.leo.out b/tests/expectations/compiler/compiler/integers/u32/div.leo.out index ef090731fb..ec1450b695 100644 --- a/tests/expectations/compiler/compiler/integers/u32/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 16572 + num_constraints: 20795 + at: 4f6450d5e7991f179adb08e1b026e453c4c6abd66f38ea4a175a888b3c1bdbf1 + bt: 3f6fd055b4a8dacc1138d93848e7ea7424a5bc64af98ad3ee1e6e5ff4719e3c3 + ct: a5941a2d70ce52e20004890f9a7198b0f22c93803e9d159824e716ff2ed2d223 + output: + - input_file: u32.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 3edfc10e7ea7c05f9f42f2f22b673431820a526c5c6bd0729d98c48ba3c8e8aa + imports_resolved_ast: 3edfc10e7ea7c05f9f42f2f22b673431820a526c5c6bd0729d98c48ba3c8e8aa + canonicalized_ast: 3edfc10e7ea7c05f9f42f2f22b673431820a526c5c6bd0729d98c48ba3c8e8aa + type_inferenced_ast: 90e585dbd2a3e0d8d2d9bec6aeb443d2d3276826e18f3ce39e7cc0b4b9edad8a diff --git a/tests/expectations/compiler/compiler/integers/u32/eq.leo.out b/tests/expectations/compiler/compiler/integers/u32/eq.leo.out index ef090731fb..34082bd47f 100644 --- a/tests/expectations/compiler/compiler/integers/u32/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/eq.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 129 + num_constraints: 129 + at: 4ce4f2bf481c4f7e47396527999e129066d1f157413884f91ced3d2b525a3187 + bt: e63628fc48d1e71ea44830c010e442f577239e29f7ffada0d8df34c28e67f107 + ct: 9f4c72431c0c7c03e216195a071c971c53deed8e3bfce450bffb3a6fad7418d5 + output: + - input_file: u32_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u32_n.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0064b1991c2086b76844f10afc932e912382ca46ce87a491fa698112c647da7b + imports_resolved_ast: 0064b1991c2086b76844f10afc932e912382ca46ce87a491fa698112c647da7b + canonicalized_ast: 0064b1991c2086b76844f10afc932e912382ca46ce87a491fa698112c647da7b + type_inferenced_ast: e3aa9184fea93463cfc41a487e3cc59a9dd21846d201926424bf94eb0bd1ec04 diff --git a/tests/expectations/compiler/compiler/integers/u32/ge.leo.out b/tests/expectations/compiler/compiler/integers/u32/ge.leo.out index ef090731fb..6a162f8cfe 100644 --- a/tests/expectations/compiler/compiler/integers/u32/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/ge.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 225 + num_constraints: 225 + at: b09f4d28fdd36c49a340f1d95f86886acc00f8e584a50dd3c98bf6adc63bb13d + bt: 37e95d209b9ca56b6ed5debe1d21d2c72e48d6a0898a59833bdf3daf2ce1c96b + ct: d7067f500143a40e015fd1f4447a4ea5b9ee6ebdf007e08be51772a8a2b672c3 + output: + - input_file: u32_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u32_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u32_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 5cf54eb75aca0534ecdcebdfcd29487598ac2bfbff4ccd94e1f8372cc66647f2 + imports_resolved_ast: 5cf54eb75aca0534ecdcebdfcd29487598ac2bfbff4ccd94e1f8372cc66647f2 + canonicalized_ast: 5cf54eb75aca0534ecdcebdfcd29487598ac2bfbff4ccd94e1f8372cc66647f2 + type_inferenced_ast: fb2ff53ccf82f2b41a3c9db523623d42b49beca8a2cf2ed50743bd17c748a75c diff --git a/tests/expectations/compiler/compiler/integers/u32/gt.leo.out b/tests/expectations/compiler/compiler/integers/u32/gt.leo.out index ef090731fb..5c1b7b51ca 100644 --- a/tests/expectations/compiler/compiler/integers/u32/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/gt.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 225 + num_constraints: 225 + at: 63019ae9d78e708c481c3ed306a9fb7e5a4ddc8db20d1a2a48e2e161aca53542 + bt: 3a99f6fa32ac0358a66ac53d0cef7af442097730b5f56ec8f8d9974108f25215 + ct: d7067f500143a40e015fd1f4447a4ea5b9ee6ebdf007e08be51772a8a2b672c3 + output: + - input_file: u32_g.in + output: + registers: {} + - input_file: u32_f.in + output: + registers: {} + initial_ast: ce24730aad7178331b88c496a8acbb95da355169193369d49801fc9eac092371 + imports_resolved_ast: ce24730aad7178331b88c496a8acbb95da355169193369d49801fc9eac092371 + canonicalized_ast: 21cd67ad1094e56f7cbcc6bc839d9b20c25e8d15e2017d64c4672da2233385e4 + type_inferenced_ast: 532bef95e9c6d5432f89a08f207e25e30b61b862f7a1fd225603cb89f0b203b5 diff --git a/tests/expectations/compiler/compiler/integers/u32/input.leo.out b/tests/expectations/compiler/compiler/integers/u32/input.leo.out index ef090731fb..f2190b9b36 100644 --- a/tests/expectations/compiler/compiler/integers/u32/input.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/input.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 127 + num_constraints: 127 + at: 051151c1ab89f2c0ff0fe5d336668c3fcd6dc4744d1f5b8e135dcb7bf6a6195c + bt: 6b92443726163ac0fc32f7c9edace0ec8369e793d24105d93d121cb0bd5c3128 + ct: 7cb2d3f0ccfb9a2e747c6a05bdb52812c4539c836ff62c4e555fac13ef2084d4 + output: + - input_file: u32_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: b6d84a8bb303dcb914251907999a4c4747f2f1ba76547f9b6bf42cf964b8c173 + imports_resolved_ast: b6d84a8bb303dcb914251907999a4c4747f2f1ba76547f9b6bf42cf964b8c173 + canonicalized_ast: b6d84a8bb303dcb914251907999a4c4747f2f1ba76547f9b6bf42cf964b8c173 + type_inferenced_ast: 20de2c6d503d1dd20412d2f689fc34a0965994743221604b2e83dfb62ea1b76c diff --git a/tests/expectations/compiler/compiler/integers/u32/le.leo.out b/tests/expectations/compiler/compiler/integers/u32/le.leo.out index ef090731fb..d54beb1abb 100644 --- a/tests/expectations/compiler/compiler/integers/u32/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/le.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 225 + num_constraints: 225 + at: be1f0e82bb31df7cf90717f08c3dc7f68f997c41433d5971d2d0f250faff6847 + bt: 6e596324acc04a48f980f6248f44cbf54a25671a41051bbffc087505edbf031f + ct: d7067f500143a40e015fd1f4447a4ea5b9ee6ebdf007e08be51772a8a2b672c3 + output: + - input_file: u32_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u32_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u32_l.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 609c549354bf45d203924554785e66eaa4506fc72cab880da747d87be55fb687 + imports_resolved_ast: 609c549354bf45d203924554785e66eaa4506fc72cab880da747d87be55fb687 + canonicalized_ast: 609c549354bf45d203924554785e66eaa4506fc72cab880da747d87be55fb687 + type_inferenced_ast: deba08692c955e042da5d13a1209eb8fc84398362e51d95c8866b18332034706 diff --git a/tests/expectations/compiler/compiler/integers/u32/lt.leo.out b/tests/expectations/compiler/compiler/integers/u32/lt.leo.out index ef090731fb..14201458e4 100644 --- a/tests/expectations/compiler/compiler/integers/u32/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 225 + num_constraints: 225 + at: aa2fc0bfe167bccae6c9eca820227eb4b981007c89579a32d3b5ec4a8268f30d + bt: 953b00df7ba097904b71a60403e38d69eece1a6e0b6791b13214cb6ea803fbb3 + ct: d7067f500143a40e015fd1f4447a4ea5b9ee6ebdf007e08be51772a8a2b672c3 + output: + - input_file: u32_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u32_g.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 62a00f0678c643a199718696e42d0acb438f78f1cf5c6dbcd4ecb45b7a8a7100 + imports_resolved_ast: 62a00f0678c643a199718696e42d0acb438f78f1cf5c6dbcd4ecb45b7a8a7100 + canonicalized_ast: 62a00f0678c643a199718696e42d0acb438f78f1cf5c6dbcd4ecb45b7a8a7100 + type_inferenced_ast: eb21e43b5fb6fd7fe7b7fe35af69df697aa5fc8ca94325a0b6f957c55828b46e diff --git a/tests/expectations/compiler/compiler/integers/u32/max.leo.out b/tests/expectations/compiler/compiler/integers/u32/max.leo.out index ef090731fb..6894c507e7 100644 --- a/tests/expectations/compiler/compiler/integers/u32/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e39345598cb3fb70a83082c7996f36d8c30ba9414fe7f6b9cc982bba85ec0a6a + imports_resolved_ast: e39345598cb3fb70a83082c7996f36d8c30ba9414fe7f6b9cc982bba85ec0a6a + canonicalized_ast: e39345598cb3fb70a83082c7996f36d8c30ba9414fe7f6b9cc982bba85ec0a6a + type_inferenced_ast: bca1eb2f17887930dfabe774271b8455b15536e4f835deb9961e1668ad405c3c diff --git a/tests/expectations/compiler/compiler/integers/u32/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/u32/max_fail.leo.out index 3f519cf1b5..b7d67e21c2 100644 --- a/tests/expectations/compiler/compiler/integers/u32/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '4294967296'\n --> compiler-test:4:20\n |\n 4 | const a: u32 = 4294967296;\n | ^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/u32/min.leo.out b/tests/expectations/compiler/compiler/integers/u32/min.leo.out index ef090731fb..ced1a702ef 100644 --- a/tests/expectations/compiler/compiler/integers/u32/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 9ca4ca8404f1fc0d16a652b741f3e57d3483d8cdb05304a58f6b1ee3580886c1 + imports_resolved_ast: 9ca4ca8404f1fc0d16a652b741f3e57d3483d8cdb05304a58f6b1ee3580886c1 + canonicalized_ast: 9ca4ca8404f1fc0d16a652b741f3e57d3483d8cdb05304a58f6b1ee3580886c1 + type_inferenced_ast: 156bc2c711d9666d42cff2bb99582ff06ad6a13a49ee529a59242e729d71f7dc diff --git a/tests/expectations/compiler/compiler/integers/u32/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/u32/min_fail.leo.out index 3f519cf1b5..b7e23834bd 100644 --- a/tests/expectations/compiler/compiler/integers/u32/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-1'\n --> compiler-test:4:20\n |\n 4 | const a: u32 = -1;\n | ^^" diff --git a/tests/expectations/compiler/compiler/integers/u32/mul.leo.out b/tests/expectations/compiler/compiler/integers/u32/mul.leo.out index ef090731fb..cf8fdc3da5 100644 --- a/tests/expectations/compiler/compiler/integers/u32/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3332 + num_constraints: 4389 + at: 2edbd98e47b4ed8cd7d7c761594353aa4ae9ca443e4d1e1f43c1e89e61955a13 + bt: 127cc198f6c432cd8add8297902708b759e48ff05fb8c042a356cb5bd81524a8 + ct: e4cb5fbafce0c6aae444c1ddf3f1883ca3df62c790a4baa8a3755bd75bb42f49 + output: + - input_file: mul.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 64377d0d7fdebe1312a8b11a1e0e45b2664cbf51042de5ffddfd56a1b2c49c35 + imports_resolved_ast: 64377d0d7fdebe1312a8b11a1e0e45b2664cbf51042de5ffddfd56a1b2c49c35 + canonicalized_ast: 64377d0d7fdebe1312a8b11a1e0e45b2664cbf51042de5ffddfd56a1b2c49c35 + type_inferenced_ast: 4e218b33b3b57390e30f068e49f5ed008626b4ebb22615fdd29929bf36ec2ed0 diff --git a/tests/expectations/compiler/compiler/integers/u32/ne.leo.out b/tests/expectations/compiler/compiler/integers/u32/ne.leo.out index ef090731fb..730c529f30 100644 --- a/tests/expectations/compiler/compiler/integers/u32/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/ne.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 129 + num_constraints: 129 + at: 6cde17fb079861287679ad93d9ed9125cfc21000431bfeaf5a2054360ce51ef7 + bt: 1178e67ab79eac96592f17313168c4300d53e89ab571025054d53d19dfdfd1b8 + ct: 9f4c72431c0c7c03e216195a071c971c53deed8e3bfce450bffb3a6fad7418d5 + output: + - input_file: ne.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0857646d1f6fdb13fc94c7fea7f0d91fcb1fdccb4841661a170b00c3091f5691 + imports_resolved_ast: 0857646d1f6fdb13fc94c7fea7f0d91fcb1fdccb4841661a170b00c3091f5691 + canonicalized_ast: 0857646d1f6fdb13fc94c7fea7f0d91fcb1fdccb4841661a170b00c3091f5691 + type_inferenced_ast: 85905a294e0eea013e6f7c4fe93858e935258f5001d1bb6aa082325ec90df1fe diff --git a/tests/expectations/compiler/compiler/integers/u32/negative_input_fail.leo.out b/tests/expectations/compiler/compiler/integers/u32/negative_input_fail.leo.out index 3f519cf1b5..122639ac74 100644 --- a/tests/expectations/compiler/compiler/integers/u32/negative_input_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/negative_input_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376089]: failed to parse `-2` as expected integer type\n --> compiler-test:3:15\n |\n 3 | function main(a: u32) {}\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u32/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/u32/no_space_between_literal.leo.out index 3f519cf1b5..4974811270 100644 --- a/tests/expectations/compiler/compiler/integers/u32/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and u32\n --> compiler-test:4:15\n |\n 4 | const i = 1 u32;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u32/sub.leo.out b/tests/expectations/compiler/compiler/integers/u32/sub.leo.out index ef090731fb..9a4a91c185 100644 --- a/tests/expectations/compiler/compiler/integers/u32/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 192 + num_constraints: 193 + at: 6cb7221b25d9868ec3dfc97292d22e7b9b7e7571ffd39a14523c2dcd6ee63c60 + bt: db97ec2b7f2b40889263b26fc6f01de19f78a4b007371ad2f54869e9a31d21db + ct: 0a2d17cb1ee78051a702abbb771d34100ff951ae893e69981ee2507b5aba6671 + output: + - input_file: u32_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 5ad8be6dc638e835e2f7b4e9dd26f9ae282dbe59d9853db13ce09f38d3e43b1f + imports_resolved_ast: 5ad8be6dc638e835e2f7b4e9dd26f9ae282dbe59d9853db13ce09f38d3e43b1f + canonicalized_ast: 5ad8be6dc638e835e2f7b4e9dd26f9ae282dbe59d9853db13ce09f38d3e43b1f + type_inferenced_ast: e7b074bd40b37ada9a90999b35fdbcd56886e2f98949a4093ba8c495661a75d1 diff --git a/tests/expectations/compiler/compiler/integers/u32/ternary.leo.out b/tests/expectations/compiler/compiler/integers/u32/ternary.leo.out index ef090731fb..b22494cd5e 100644 --- a/tests/expectations/compiler/compiler/integers/u32/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/u32/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 224 + num_constraints: 256 + at: 45301188494f0c65b2e88eac9117ba7367e772ea34e9b8f34bf3d49dbd1dd067 + bt: 35d9c47cfd4fc137760d0ee411c0b097541cab7aae2b0a9ea83b368328fe5c23 + ct: 032da4c7df957d9ca89b5395be6e1c84cab7d19a78abe1b02bb37b26ca65b0e4 + output: + - input_file: u32_t.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u32_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: c5b7d8bd3863f44039ab510def2034acb99362b39a5428e6fc117483353f4afe + imports_resolved_ast: c5b7d8bd3863f44039ab510def2034acb99362b39a5428e6fc117483353f4afe + canonicalized_ast: c5b7d8bd3863f44039ab510def2034acb99362b39a5428e6fc117483353f4afe + type_inferenced_ast: dc3eaf97d5cb489ebffb01f14ba974027562ca17f438301c26167aa3471ddc52 diff --git a/tests/expectations/compiler/compiler/integers/u64/add.leo.out b/tests/expectations/compiler/compiler/integers/u64/add.leo.out index ef090731fb..788d42dcc1 100644 --- a/tests/expectations/compiler/compiler/integers/u64/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 384 + num_constraints: 385 + at: 03f552addf49f5f1c8402d8af8dd733983efa7fd3436d677d89d74a1c6548962 + bt: 8cbfb6559664a4d73354d718f19247484a98da79ddf83350c1a070cb14fda399 + ct: 0715661d18c8621f5c33eee669d8d659ee3a767d6ef515102191cdc19577ac02 + output: + - input_file: u64.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0ef0459ce0ac2ba8a9c2272d6c4f67f7dd9cd7d36c557c65339d2ef8d2c5b187 + imports_resolved_ast: 0ef0459ce0ac2ba8a9c2272d6c4f67f7dd9cd7d36c557c65339d2ef8d2c5b187 + canonicalized_ast: 0ef0459ce0ac2ba8a9c2272d6c4f67f7dd9cd7d36c557c65339d2ef8d2c5b187 + type_inferenced_ast: 248f3c601e2a40da8679d72f7b7316b939d60cf137c4b51cbb45fa17f7707f6e diff --git a/tests/expectations/compiler/compiler/integers/u64/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/u64/console_assert.leo.out index ef090731fb..dc696c5d5e 100644 --- a/tests/expectations/compiler/compiler/integers/u64/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/console_assert.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 382 + num_constraints: 382 + at: 9d064db37e95194967d924cd23aecd5ddd20a17c31a48470f0b624f5937ff750 + bt: 21d30b45426d69b866ddb826df03348580bcd064b2586cd615e3c270d7b85397 + ct: bd9112f8b3135d07d5b5a2491f17add20c7ca9d7881df20e3ff47918d208e75d + output: + - input_file: u64.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d2f3122d85fa05ee19f871887e18aa6efabad907605cea1f15450ef959b2879a + imports_resolved_ast: d2f3122d85fa05ee19f871887e18aa6efabad907605cea1f15450ef959b2879a + canonicalized_ast: d2f3122d85fa05ee19f871887e18aa6efabad907605cea1f15450ef959b2879a + type_inferenced_ast: f815e8620acc120dd2d65879e28cb0454628ce35522a1c2ff767fa01035bdf58 diff --git a/tests/expectations/compiler/compiler/integers/u64/div.leo.out b/tests/expectations/compiler/compiler/integers/u64/div.leo.out index ef090731fb..001652407f 100644 --- a/tests/expectations/compiler/compiler/integers/u64/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 65916 + num_constraints: 82555 + at: 071831a1f073f5ba74377785488634267645562682b9dbeaafd1f65e39bf17d3 + bt: bcde87dd40262305d4c32a5949fa939d1b83f6ae51143eba7c147eab61314987 + ct: 7c81f1ec1d5e9746863df8f4128342df3b6ad3abe2397c2274a0c3fc45750094 + output: + - input_file: u64.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2fdc5cbc880c5460481529ab25107dd0aca1981e62799cbc2b2493aa09118a48 + imports_resolved_ast: 2fdc5cbc880c5460481529ab25107dd0aca1981e62799cbc2b2493aa09118a48 + canonicalized_ast: 2fdc5cbc880c5460481529ab25107dd0aca1981e62799cbc2b2493aa09118a48 + type_inferenced_ast: 961438f46e01229747be641eee9975d6368894da0e8a6b34339bd6268dd8afa6 diff --git a/tests/expectations/compiler/compiler/integers/u64/eq.leo.out b/tests/expectations/compiler/compiler/integers/u64/eq.leo.out index ef090731fb..769418bc71 100644 --- a/tests/expectations/compiler/compiler/integers/u64/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/eq.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 257 + num_constraints: 257 + at: 30dc67aa22cadc6e5ec8c73e0096443263121e29adf46bb33ed310b07765ff6e + bt: 1aaee32179419b6185d75c5745bd13c7c8ba869bad0132405ef1b28915bfe5d9 + ct: 8edd5528a862bbd5590cfbd0d52871e395cf73e3a22c70839571b36506fbe3a7 + output: + - input_file: u64_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u64_n.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: ad4f42340cbf53046e609f62504385802398d608ada37e91f60134edf598ba59 + imports_resolved_ast: ad4f42340cbf53046e609f62504385802398d608ada37e91f60134edf598ba59 + canonicalized_ast: ad4f42340cbf53046e609f62504385802398d608ada37e91f60134edf598ba59 + type_inferenced_ast: 4cf9af4071478957995abe43c2e193df18a860eaa82449a0952b732ec7be9a9c diff --git a/tests/expectations/compiler/compiler/integers/u64/ge.leo.out b/tests/expectations/compiler/compiler/integers/u64/ge.leo.out index ef090731fb..085d10a1f8 100644 --- a/tests/expectations/compiler/compiler/integers/u64/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/ge.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 449 + num_constraints: 449 + at: 43b83eacdd7b17b700c040da76128375494a8f013882c2cd401cf5c9ceeef74a + bt: bd9dd7ede35a39f80c5b4b97dca300dcd37110f2270cb25d8935d964db04e2ab + ct: 7b765314986bd8a51a62dabdef866c5fe05ad9bf392fb0e25b7ce3b9969f81e1 + output: + - input_file: u64_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u64_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u64_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 98a856a767ee58ea53ec7a6f489d6db69a9e828b76e7b8b26c0222b89b4be3d3 + imports_resolved_ast: 98a856a767ee58ea53ec7a6f489d6db69a9e828b76e7b8b26c0222b89b4be3d3 + canonicalized_ast: 98a856a767ee58ea53ec7a6f489d6db69a9e828b76e7b8b26c0222b89b4be3d3 + type_inferenced_ast: 2d3be362efd6a4a97dc1b06eff92c06facd649dab585f3ad681d5ce49e4e37cf diff --git a/tests/expectations/compiler/compiler/integers/u64/gt.leo.out b/tests/expectations/compiler/compiler/integers/u64/gt.leo.out index ef090731fb..ceb14c1bab 100644 --- a/tests/expectations/compiler/compiler/integers/u64/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/gt.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 449 + num_constraints: 449 + at: 961c527f11c9cd68f1dff327e550127f82fc974a4b92c1dedc47a2f7426590a9 + bt: fcf7dc96d2a270e2f93cf6e19151e06c10a1b5361d5ac92a8cb2a2ba36c19067 + ct: 7b765314986bd8a51a62dabdef866c5fe05ad9bf392fb0e25b7ce3b9969f81e1 + output: + - input_file: u64_g.in + output: + registers: {} + - input_file: u64_f.in + output: + registers: {} + initial_ast: c667f170b175a4c3991b2df81c0605d3980cab1ae01ae4c66c71f3a311d711c2 + imports_resolved_ast: c667f170b175a4c3991b2df81c0605d3980cab1ae01ae4c66c71f3a311d711c2 + canonicalized_ast: 173da56c6c9a8cd27a1181d9fe1197db4168f4f25129dbd02ef474e5c77c110f + type_inferenced_ast: 4618a65899c633510140b465505d8f767d890f40bc24535513f73d04e187a884 diff --git a/tests/expectations/compiler/compiler/integers/u64/input.leo.out b/tests/expectations/compiler/compiler/integers/u64/input.leo.out index ef090731fb..ba72baf0a0 100644 --- a/tests/expectations/compiler/compiler/integers/u64/input.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/input.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 255 + num_constraints: 255 + at: 68080cb19b62be7f91ee2118affb7b55ea272e15e17581869385053a5c6d3623 + bt: 2c1d031e57e285b1277f2c37853fc7fdff23711e1147d7b26ed74d3acd28ceff + ct: 0b136215b60005ed17aa4eea76bc4e2b0349c0fecf57dc06f5dba31981f270d0 + output: + - input_file: u64_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2f1b1bd0b33a99d4962b01003146df394ef6b0ba913080a4a905ad393ae5ad44 + imports_resolved_ast: 2f1b1bd0b33a99d4962b01003146df394ef6b0ba913080a4a905ad393ae5ad44 + canonicalized_ast: 2f1b1bd0b33a99d4962b01003146df394ef6b0ba913080a4a905ad393ae5ad44 + type_inferenced_ast: 4b97d8527b94d514fa342714f89595dd6384f95d21ead2b6f52ca4141e54b2b4 diff --git a/tests/expectations/compiler/compiler/integers/u64/le.leo.out b/tests/expectations/compiler/compiler/integers/u64/le.leo.out index ef090731fb..4404e32632 100644 --- a/tests/expectations/compiler/compiler/integers/u64/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/le.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 449 + num_constraints: 449 + at: d8041c17d69554c3c06ad3d72f58df129a6df56184fd121c815b1ddfe0951d52 + bt: 20b7ff1d5fb8aeb0ff37cde558c4da0c1949885789a23bdf21a415cefb159e16 + ct: 7b765314986bd8a51a62dabdef866c5fe05ad9bf392fb0e25b7ce3b9969f81e1 + output: + - input_file: u64_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u64_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u64_l.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 254f1e1190e4badc566cf6325a2204b54c3862730fd1927f940bed7fc59661ef + imports_resolved_ast: 254f1e1190e4badc566cf6325a2204b54c3862730fd1927f940bed7fc59661ef + canonicalized_ast: 254f1e1190e4badc566cf6325a2204b54c3862730fd1927f940bed7fc59661ef + type_inferenced_ast: d0f1f32a7cfddb8fdeb6d3c8d1dc671e360e6da220cc027d96ba9af05a89c9ee diff --git a/tests/expectations/compiler/compiler/integers/u64/lt.leo.out b/tests/expectations/compiler/compiler/integers/u64/lt.leo.out index ef090731fb..e5858787e1 100644 --- a/tests/expectations/compiler/compiler/integers/u64/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 449 + num_constraints: 449 + at: 6fad339784c0e41ffb56fc6d4b5949563cf1a7e53e91cf1c643df2dd798c9cf8 + bt: ac1a1706eaf7c384375eebf95d38ab272e9c27745c6a9f5feed56e6ecbe28e8b + ct: 7b765314986bd8a51a62dabdef866c5fe05ad9bf392fb0e25b7ce3b9969f81e1 + output: + - input_file: u64_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u64_g.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 78e1412b1d5489da7cc5748403694f48facede592b307e53b8ff81c88706aaba + imports_resolved_ast: 78e1412b1d5489da7cc5748403694f48facede592b307e53b8ff81c88706aaba + canonicalized_ast: 78e1412b1d5489da7cc5748403694f48facede592b307e53b8ff81c88706aaba + type_inferenced_ast: de8ae920138c080d121776efa9920dc1b51108aaf7e18e75c61fcd4436bfdbdb diff --git a/tests/expectations/compiler/compiler/integers/u64/max.leo.out b/tests/expectations/compiler/compiler/integers/u64/max.leo.out index ef090731fb..2740bb1a85 100644 --- a/tests/expectations/compiler/compiler/integers/u64/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: b683fad49d2ee3cf8e2c08db1994d40178fd8620ed5b2a1aa84a222a2db4d466 + imports_resolved_ast: b683fad49d2ee3cf8e2c08db1994d40178fd8620ed5b2a1aa84a222a2db4d466 + canonicalized_ast: b683fad49d2ee3cf8e2c08db1994d40178fd8620ed5b2a1aa84a222a2db4d466 + type_inferenced_ast: 58e6327fa6d926a54bf437c8b3368b1bb2a62c9f86c372139b0952de56b94d78 diff --git a/tests/expectations/compiler/compiler/integers/u64/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/u64/max_fail.leo.out index 3f519cf1b5..55b5108fa8 100644 --- a/tests/expectations/compiler/compiler/integers/u64/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '18446744073709551616'\n --> compiler-test:4:20\n |\n 4 | const a: u64 = 18446744073709551616;\n | ^^^^^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/integers/u64/min.leo.out b/tests/expectations/compiler/compiler/integers/u64/min.leo.out index ef090731fb..8668160ca6 100644 --- a/tests/expectations/compiler/compiler/integers/u64/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2ab7dc6aeaa06191668ce218bf971a797d818d82d57e5c5238571ac7d51b3e1a + imports_resolved_ast: 2ab7dc6aeaa06191668ce218bf971a797d818d82d57e5c5238571ac7d51b3e1a + canonicalized_ast: 2ab7dc6aeaa06191668ce218bf971a797d818d82d57e5c5238571ac7d51b3e1a + type_inferenced_ast: 9b04ce3a661bfcbc23b9066b315b48ca4cc51c10364dc3f2aa6196efd1633056 diff --git a/tests/expectations/compiler/compiler/integers/u64/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/u64/min_fail.leo.out index 3f519cf1b5..f0d007ea6c 100644 --- a/tests/expectations/compiler/compiler/integers/u64/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-1'\n --> compiler-test:4:20\n |\n 4 | const a: u64 = -1;\n | ^^" diff --git a/tests/expectations/compiler/compiler/integers/u64/mul.leo.out b/tests/expectations/compiler/compiler/integers/u64/mul.leo.out index ef090731fb..ea52e75d85 100644 --- a/tests/expectations/compiler/compiler/integers/u64/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 12805 + num_constraints: 16966 + at: 94607d20548e2b4a046e0f3eb55624da27ec73bcaeee0e8258b3d2e2e607b2fd + bt: 8063dc2ec3957d32cb243785803b1fe280885ae5bbb7b50ae5dd71b4a5b404dd + ct: 5c2a423f5d488da02561837d1ae9e5b86ede29cd64555ebc88229ab4ef9d8fa2 + output: + - input_file: mul.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 234cebde72559d83c7ca897456c95a46345a67de7fd6b82aa9fb3a0ce5cd9d6d + imports_resolved_ast: 234cebde72559d83c7ca897456c95a46345a67de7fd6b82aa9fb3a0ce5cd9d6d + canonicalized_ast: 234cebde72559d83c7ca897456c95a46345a67de7fd6b82aa9fb3a0ce5cd9d6d + type_inferenced_ast: 41a3dae72352f43712f3cc0cb507ab92031b48cfdb7fcb06f959b6060758d17b diff --git a/tests/expectations/compiler/compiler/integers/u64/ne.leo.out b/tests/expectations/compiler/compiler/integers/u64/ne.leo.out index ef090731fb..28e0fa8284 100644 --- a/tests/expectations/compiler/compiler/integers/u64/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/ne.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 257 + num_constraints: 257 + at: 2ba8d0827cc16bb5d0076549483425de1dd0da9b3fb06fd790c256ec8d1df36b + bt: 7abc1550aed02405fe1d0951da294ee11583b4215ddc3889429f16ac75604766 + ct: 8edd5528a862bbd5590cfbd0d52871e395cf73e3a22c70839571b36506fbe3a7 + output: + - input_file: ne.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d4062e73e7e24af37d9e4d1770d18e008d47f5df0dbc2de56a1089496e53ea1b + imports_resolved_ast: d4062e73e7e24af37d9e4d1770d18e008d47f5df0dbc2de56a1089496e53ea1b + canonicalized_ast: d4062e73e7e24af37d9e4d1770d18e008d47f5df0dbc2de56a1089496e53ea1b + type_inferenced_ast: 0b9394287626c1cbe2240d34740fc8cd3202690de88d4dae3b1062ed519415e9 diff --git a/tests/expectations/compiler/compiler/integers/u64/negative_input_fail.leo.out b/tests/expectations/compiler/compiler/integers/u64/negative_input_fail.leo.out index 3f519cf1b5..b160ff699c 100644 --- a/tests/expectations/compiler/compiler/integers/u64/negative_input_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/negative_input_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376089]: failed to parse `-2` as expected integer type\n --> compiler-test:3:15\n |\n 3 | function main(a: u64) {}\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u64/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/u64/no_space_between_literal.leo.out index 3f519cf1b5..69aa25a324 100644 --- a/tests/expectations/compiler/compiler/integers/u64/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and u64\n --> compiler-test:4:15\n |\n 4 | const i = 1 u64;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u64/sub.leo.out b/tests/expectations/compiler/compiler/integers/u64/sub.leo.out index ef090731fb..2d4c78d409 100644 --- a/tests/expectations/compiler/compiler/integers/u64/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 384 + num_constraints: 385 + at: 03f552addf49f5f1c8402d8af8dd733983efa7fd3436d677d89d74a1c6548962 + bt: 8cbfb6559664a4d73354d718f19247484a98da79ddf83350c1a070cb14fda399 + ct: 4906d35acd2d4c5fda24a10932dbccfb9c814de0b6160b29fa57540935c864ee + output: + - input_file: u64_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 9776d9311c67fd4c0a402d7b62623d78090a7c548e25841d2629d503bfe185ff + imports_resolved_ast: 9776d9311c67fd4c0a402d7b62623d78090a7c548e25841d2629d503bfe185ff + canonicalized_ast: 9776d9311c67fd4c0a402d7b62623d78090a7c548e25841d2629d503bfe185ff + type_inferenced_ast: 0ca6841975de33f74979b293de56ac993cdaa92fedfe1932bec2ffaf847d43fc diff --git a/tests/expectations/compiler/compiler/integers/u64/ternary.leo.out b/tests/expectations/compiler/compiler/integers/u64/ternary.leo.out index ef090731fb..41f8fede4f 100644 --- a/tests/expectations/compiler/compiler/integers/u64/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/u64/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 448 + num_constraints: 512 + at: e36c9bfd01fbf30c1f31d53e2b19d1a83989e86701ba58838688174b9ad804d7 + bt: edadcd06780bd97cb60d245565ce94697ee12b4d71ce9148f1546f1c4390b668 + ct: f1bb709127145aae7603feda04afbc3e401fdf290c1d549be8d2d4b21ece9b58 + output: + - input_file: u64_t.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u64_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 3295b9a5f343261562befdfbf3a7ee33326d6316a1101c00c909cc79747f5bb4 + imports_resolved_ast: 3295b9a5f343261562befdfbf3a7ee33326d6316a1101c00c909cc79747f5bb4 + canonicalized_ast: 3295b9a5f343261562befdfbf3a7ee33326d6316a1101c00c909cc79747f5bb4 + type_inferenced_ast: a17c197c6672681826a04859b8fbe7e007401aa62fa8feed14ebefc81f958793 diff --git a/tests/expectations/compiler/compiler/integers/u8/add.leo.out b/tests/expectations/compiler/compiler/integers/u8/add.leo.out index ef090731fb..6ca74c3a29 100644 --- a/tests/expectations/compiler/compiler/integers/u8/add.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/add.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 48 + num_constraints: 49 + at: 69fb3c4168c95acd03a37f194310a3c4650940b98570ed2354b4cf40a46c3cdc + bt: 0864b812eb8b0fd3cb3173bde347790cd9975d1117accb115141afe0444cea3c + ct: 463f6e3dc8e5ed795eb81d0b200c7f8d7ee4294ef49dc7469646067364331ccf + output: + - input_file: u8.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 9dea438cfe465dadf7fdeed3bbddd7e382f583f3f6ba99e9402fede4ba47a442 + imports_resolved_ast: 9dea438cfe465dadf7fdeed3bbddd7e382f583f3f6ba99e9402fede4ba47a442 + canonicalized_ast: 9dea438cfe465dadf7fdeed3bbddd7e382f583f3f6ba99e9402fede4ba47a442 + type_inferenced_ast: 6a607b10a9897d5b69b303c7f1640af33ddaae750077e18a29e0c6c24dfb581d diff --git a/tests/expectations/compiler/compiler/integers/u8/console_assert.leo.out b/tests/expectations/compiler/compiler/integers/u8/console_assert.leo.out index ef090731fb..e40fc7da91 100644 --- a/tests/expectations/compiler/compiler/integers/u8/console_assert.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/console_assert.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 46 + num_constraints: 46 + at: 829f4510ef3fb07e4ffecffe519507a8c6790309f86f349e2b8c5c42cc09e1c9 + bt: 10f68596bcedd566b8eecf0bd255093865e9652e35d141d868fcba35ed67b24a + ct: 547830d9a13714ce4f3490f83aeafb5faa68aac46614867b7c19beb99eb908ff + output: + - input_file: u8.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 836bd0b470cd210052613fd9b13c5e420cc52b5da5f05a1dbbbdabbda9e35d5e + imports_resolved_ast: 836bd0b470cd210052613fd9b13c5e420cc52b5da5f05a1dbbbdabbda9e35d5e + canonicalized_ast: 836bd0b470cd210052613fd9b13c5e420cc52b5da5f05a1dbbbdabbda9e35d5e + type_inferenced_ast: 65e7b6fd34672f4f4d0f09df9e2d1d3a3d6c2c632128eb8f8a2c6f0c95d28a3b diff --git a/tests/expectations/compiler/compiler/integers/u8/div.leo.out b/tests/expectations/compiler/compiler/integers/u8/div.leo.out index ef090731fb..07d963bfdf 100644 --- a/tests/expectations/compiler/compiler/integers/u8/div.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/div.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1068 + num_constraints: 1355 + at: 8ed58147507a99812dafb5a57a6c403d92d4454ea232cc7ee8b7f387a1435aa4 + bt: 9e0ee614664ff1c133eff0a1bdb47f8521967aacb928ff34195d0639aec895d6 + ct: 0b81ff43876b3dbc83461a76cfd1c6ff5513f2a5597441d526a472bd74b66ad1 + output: + - input_file: u8.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 5e159a778450deb8e7a193f93700d4f70f356b414c4acf927d31117d6f4c6246 + imports_resolved_ast: 5e159a778450deb8e7a193f93700d4f70f356b414c4acf927d31117d6f4c6246 + canonicalized_ast: 5e159a778450deb8e7a193f93700d4f70f356b414c4acf927d31117d6f4c6246 + type_inferenced_ast: 1b9a06f4b0a525f5e8a678fed6eedfd9227fa5d416c578711a4b61b37ebefbc5 diff --git a/tests/expectations/compiler/compiler/integers/u8/eq.leo.out b/tests/expectations/compiler/compiler/integers/u8/eq.leo.out index ef090731fb..60854938a0 100644 --- a/tests/expectations/compiler/compiler/integers/u8/eq.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/eq.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 33 + num_constraints: 33 + at: 424965aff58c62dd2bf38daa6426a3edcc19aa86bff3842fe4e73f743d37e1cb + bt: 03d1b6a8fdf9f73f595cf97261f1bae81000c89364c7af58f4f7f04aba7bac30 + ct: 2aae7d6631260dcaafbfe9709ade84e75f5172a9baad48e108e7264d5fc17cf6 + output: + - input_file: u8_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u8_n.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e3e4dc868de4fdf770bb339ab8e7dfb54e4d0786c58f892d1bca34a28403ed1f + imports_resolved_ast: e3e4dc868de4fdf770bb339ab8e7dfb54e4d0786c58f892d1bca34a28403ed1f + canonicalized_ast: e3e4dc868de4fdf770bb339ab8e7dfb54e4d0786c58f892d1bca34a28403ed1f + type_inferenced_ast: 3e57ddf8d981040924b7eb460f3627fe35eee8dfe7a54c7cbf4a48f609e408cb diff --git a/tests/expectations/compiler/compiler/integers/u8/ge.leo.out b/tests/expectations/compiler/compiler/integers/u8/ge.leo.out index ef090731fb..b65b35b985 100644 --- a/tests/expectations/compiler/compiler/integers/u8/ge.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/ge.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 57 + num_constraints: 57 + at: bc8380502907fbf4dc375e6ffc6ff09063dfb74d4bf1deb5c0a822f892e73acb + bt: 6af90ba76909462a3da873fbb2276b4020df6b3318671bd44aef4572df6326fc + ct: 5a4c4f077603c1f7c4b31cf17fee281ab3cb7d2a9571be40a2f3a88577759477 + output: + - input_file: u8_g.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u8_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u8_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 6695ac31b2462e549a79a622e8cb11eae73c20503e727b9f50fbab4c572c785d + imports_resolved_ast: 6695ac31b2462e549a79a622e8cb11eae73c20503e727b9f50fbab4c572c785d + canonicalized_ast: 6695ac31b2462e549a79a622e8cb11eae73c20503e727b9f50fbab4c572c785d + type_inferenced_ast: 5f6c660c11b7fc64e7947923a77f30cddb93ab223f59cb322a29876b04f7c9a8 diff --git a/tests/expectations/compiler/compiler/integers/u8/gt.leo.out b/tests/expectations/compiler/compiler/integers/u8/gt.leo.out index ef090731fb..fac5211983 100644 --- a/tests/expectations/compiler/compiler/integers/u8/gt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/gt.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 57 + num_constraints: 57 + at: 38f7f88206d5c28524fd286b4d4eff928bc29bf167f9ccdb1459377fcdee677f + bt: 0edd7a2aa1dabdeb3cd270d78086cb74dfc5f4c957e6f2ce7546daed614a3579 + ct: 5a4c4f077603c1f7c4b31cf17fee281ab3cb7d2a9571be40a2f3a88577759477 + output: + - input_file: u8_g.in + output: + registers: {} + - input_file: u8_f.in + output: + registers: {} + initial_ast: 4a99a7af4e976c85ed87114d8a267a1d047b17f60fda4030e793fd5f66cf2c53 + imports_resolved_ast: 4a99a7af4e976c85ed87114d8a267a1d047b17f60fda4030e793fd5f66cf2c53 + canonicalized_ast: 5df377575d61a53ae6c1cd898ef1ab739660a9716eaeebee9c8a767c8d05ec60 + type_inferenced_ast: e69731b76d3e389f51f854eac84befd1d7e1c61180ca46a150f07b2aa768f2d8 diff --git a/tests/expectations/compiler/compiler/integers/u8/input.leo.out b/tests/expectations/compiler/compiler/integers/u8/input.leo.out index ef090731fb..0747f5d164 100644 --- a/tests/expectations/compiler/compiler/integers/u8/input.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/input.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 31 + num_constraints: 31 + at: 8111e478f64beb722ec96fbd80076cb73b735813b20e8f2ed6e3c21febceaae7 + bt: c2cfac5aa6e125cb6cde720b0598fef7933c4aa62926fe99405bf1c2829dd4ce + ct: a3fa97a403ebea95a47d7ded7c01cee45af74afbfa876c203e4e96f6054b8815 + output: + - input_file: u8_g.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 35b67dd962ab49f7cda88997fbd0028a30d591229b5a7e9ad8d062b1b31d4565 + imports_resolved_ast: 35b67dd962ab49f7cda88997fbd0028a30d591229b5a7e9ad8d062b1b31d4565 + canonicalized_ast: 35b67dd962ab49f7cda88997fbd0028a30d591229b5a7e9ad8d062b1b31d4565 + type_inferenced_ast: e8966ad1d14fd288b6dbda6b1de78f01048e73d231122e997f11c08b5b6c404d diff --git a/tests/expectations/compiler/compiler/integers/u8/le.leo.out b/tests/expectations/compiler/compiler/integers/u8/le.leo.out index ef090731fb..e93f6fb6dd 100644 --- a/tests/expectations/compiler/compiler/integers/u8/le.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/le.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 57 + num_constraints: 57 + at: 4f2c1500ec12fc38d3a05a67cab6066e0bedda66bdd2a9b81b58189a4e2efb44 + bt: 7166372193964d2e6e881f4178c1a8fd80afe2c60584af277e73e606f4ac4efd + ct: 5a4c4f077603c1f7c4b31cf17fee281ab3cb7d2a9571be40a2f3a88577759477 + output: + - input_file: u8_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u8_e.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u8_l.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 72590f8b2a5ac7c0a4e663ce39009c0032ee66011f7fa1d5d61b34bd313e0e86 + imports_resolved_ast: 72590f8b2a5ac7c0a4e663ce39009c0032ee66011f7fa1d5d61b34bd313e0e86 + canonicalized_ast: 72590f8b2a5ac7c0a4e663ce39009c0032ee66011f7fa1d5d61b34bd313e0e86 + type_inferenced_ast: eda186febeb1927b5f0427f36ecaf1f6fc6c5201d8d0ddbf7399a31b0a181c0b diff --git a/tests/expectations/compiler/compiler/integers/u8/lt.leo.out b/tests/expectations/compiler/compiler/integers/u8/lt.leo.out index ef090731fb..82ef830edf 100644 --- a/tests/expectations/compiler/compiler/integers/u8/lt.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/lt.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 57 + num_constraints: 57 + at: 6a0450b269677ab3f038f68befed6b3dd7e4471cba20c9b3cbb1987d11623de2 + bt: 1c92f5790ff308be2d3a812b0b14b7445192b9b9fb271cabd8a18dc925deb34d + ct: 5a4c4f077603c1f7c4b31cf17fee281ab3cb7d2a9571be40a2f3a88577759477 + output: + - input_file: u8_f.in + output: + registers: + r0: + type: bool + value: "false" + - input_file: u8_g.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 57691c69dc440d8028e25c3e4487c52a89c5b23ff2976faa8dac057b29170945 + imports_resolved_ast: 57691c69dc440d8028e25c3e4487c52a89c5b23ff2976faa8dac057b29170945 + canonicalized_ast: 57691c69dc440d8028e25c3e4487c52a89c5b23ff2976faa8dac057b29170945 + type_inferenced_ast: eced084868377db05c2cde7dc441f0d657610891ceec6df4445debef18ee1804 diff --git a/tests/expectations/compiler/compiler/integers/u8/max.leo.out b/tests/expectations/compiler/compiler/integers/u8/max.leo.out index ef090731fb..5265fe397a 100644 --- a/tests/expectations/compiler/compiler/integers/u8/max.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/max.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 1e5b1da2899876d937c9ecdf22665be02e309b6ec9fd6fa7473ffebb48a9e19b + imports_resolved_ast: 1e5b1da2899876d937c9ecdf22665be02e309b6ec9fd6fa7473ffebb48a9e19b + canonicalized_ast: 1e5b1da2899876d937c9ecdf22665be02e309b6ec9fd6fa7473ffebb48a9e19b + type_inferenced_ast: 042f053591ca529430101b4412ca9de1d0ea595d332b5ee73ea9aae0774fff7e diff --git a/tests/expectations/compiler/compiler/integers/u8/max_fail.leo.out b/tests/expectations/compiler/compiler/integers/u8/max_fail.leo.out index 3f519cf1b5..2c635d7168 100644 --- a/tests/expectations/compiler/compiler/integers/u8/max_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/max_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '256'\n --> compiler-test:4:19\n |\n 4 | const a: u8 = 256;\n | ^^^" diff --git a/tests/expectations/compiler/compiler/integers/u8/min.leo.out b/tests/expectations/compiler/compiler/integers/u8/min.leo.out index ef090731fb..850285bf40 100644 --- a/tests/expectations/compiler/compiler/integers/u8/min.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/min.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: "../input/dummy.in" + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 0ad4671e3a0aaf948a2ccafb0030bd29f77ebe358d8bc309e24a76691adbc15d + imports_resolved_ast: 0ad4671e3a0aaf948a2ccafb0030bd29f77ebe358d8bc309e24a76691adbc15d + canonicalized_ast: 0ad4671e3a0aaf948a2ccafb0030bd29f77ebe358d8bc309e24a76691adbc15d + type_inferenced_ast: dcf3b29842bb4b58aec3edc927f4df1373b82497624fd480af3b2c995f973a1e diff --git a/tests/expectations/compiler/compiler/integers/u8/min_fail.leo.out b/tests/expectations/compiler/compiler/integers/u8/min_fail.leo.out index 3f519cf1b5..4f759d7ea2 100644 --- a/tests/expectations/compiler/compiler/integers/u8/min_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/min_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373030]: failed to parse int value '-1'\n --> compiler-test:4:19\n |\n 4 | const a: u8 = -1;\n | ^^" diff --git a/tests/expectations/compiler/compiler/integers/u8/mul.leo.out b/tests/expectations/compiler/compiler/integers/u8/mul.leo.out index ef090731fb..96ad005f3f 100644 --- a/tests/expectations/compiler/compiler/integers/u8/mul.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/mul.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 258 + num_constraints: 331 + at: 9db6e7fa73b98bf7623bed5997bf61d51f348aaf43d9249b629a866a9085f08b + bt: a9bb86254052a3c5b275213180e89108aea721369a9d32cbd837a1cb974d76b3 + ct: 4dc6b4ca7c3bcedbbe8abbaee96615345e08b304dd65b217319ece1224721b57 + output: + - input_file: mul.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: 8db1872b44d014eca2e66c5de1be6ae902623a1548ca53b6146de18dced3d409 + imports_resolved_ast: 8db1872b44d014eca2e66c5de1be6ae902623a1548ca53b6146de18dced3d409 + canonicalized_ast: 8db1872b44d014eca2e66c5de1be6ae902623a1548ca53b6146de18dced3d409 + type_inferenced_ast: c838cd4e5527762edc4fc43355c05b68085c39fd5a338f68caafc0160c68a574 diff --git a/tests/expectations/compiler/compiler/integers/u8/ne.leo.out b/tests/expectations/compiler/compiler/integers/u8/ne.leo.out index ef090731fb..cda424ec4f 100644 --- a/tests/expectations/compiler/compiler/integers/u8/ne.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/ne.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 33 + num_constraints: 33 + at: 5e88cd940df2c48a53e64a9b8589045ef766371daa5cc885df982902d9fcc754 + bt: 10b52342f8c44eb9b3335b4df9ca4136de3ad35d5b580b2ab32ae5e10bcdf3b4 + ct: 2aae7d6631260dcaafbfe9709ade84e75f5172a9baad48e108e7264d5fc17cf6 + output: + - input_file: ne.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: f74da59a77c90926a1d926b1c35fd5a18e44de0f8cb6aba39fa176d431f4f965 + imports_resolved_ast: f74da59a77c90926a1d926b1c35fd5a18e44de0f8cb6aba39fa176d431f4f965 + canonicalized_ast: f74da59a77c90926a1d926b1c35fd5a18e44de0f8cb6aba39fa176d431f4f965 + type_inferenced_ast: 474128f7bfe69e7ea64a76c57e729dc85520425fc36ef88c123aebdc670176a3 diff --git a/tests/expectations/compiler/compiler/integers/u8/negative_input_fail.leo.out b/tests/expectations/compiler/compiler/integers/u8/negative_input_fail.leo.out index 3f519cf1b5..f4d484c12b 100644 --- a/tests/expectations/compiler/compiler/integers/u8/negative_input_fail.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/negative_input_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [ECMP0376089]: failed to parse `-2` as expected integer type\n --> compiler-test:3:15\n |\n 3 | function main(a: u8) {}\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u8/no_space_between_literal.leo.out b/tests/expectations/compiler/compiler/integers/u8/no_space_between_literal.leo.out index 3f519cf1b5..4f1333e8cc 100644 --- a/tests/expectations/compiler/compiler/integers/u8/no_space_between_literal.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/no_space_between_literal.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EPAR0370004]: Unexpected white space between terms 1 and u8\n --> compiler-test:4:15\n |\n 4 | const i = 1 u8;\n | ^" diff --git a/tests/expectations/compiler/compiler/integers/u8/sub.leo.out b/tests/expectations/compiler/compiler/integers/u8/sub.leo.out index ef090731fb..65468f7374 100644 --- a/tests/expectations/compiler/compiler/integers/u8/sub.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/sub.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 48 + num_constraints: 49 + at: 69fb3c4168c95acd03a37f194310a3c4650940b98570ed2354b4cf40a46c3cdc + bt: 0864b812eb8b0fd3cb3173bde347790cd9975d1117accb115141afe0444cea3c + ct: a09cd762cf1db927d99cef196452f092d030aa05851fe466816535ac34c6188f + output: + - input_file: u8_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 4ad8780e5c0a3128317266059864223beac927b6d00745353114baaf5261fbca + imports_resolved_ast: 4ad8780e5c0a3128317266059864223beac927b6d00745353114baaf5261fbca + canonicalized_ast: 4ad8780e5c0a3128317266059864223beac927b6d00745353114baaf5261fbca + type_inferenced_ast: c26b34ca605ac96edbd443f0f4015493d509054c3e7b749fc9ee31ef1800d6c8 diff --git a/tests/expectations/compiler/compiler/integers/u8/ternary.leo.out b/tests/expectations/compiler/compiler/integers/u8/ternary.leo.out index ef090731fb..99d682ebbc 100644 --- a/tests/expectations/compiler/compiler/integers/u8/ternary.leo.out +++ b/tests/expectations/compiler/compiler/integers/u8/ternary.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 56 + num_constraints: 64 + at: a15ec92a38acf1a47952df144e5299f49dbde96fbe1a3f3b2af4bbca483d65aa + bt: 90a2489533355ee3e27d5cf485612441ec10e21923eb78e6be21633ce11fa8f1 + ct: 4c2d67fc6e1c4ad44f323c1b958ed94313153573aa72a3c0f0d25b17b54e63bc + output: + - input_file: u8_t.in + output: + registers: + r0: + type: bool + value: "true" + - input_file: u8_f.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 74e87cd14415c4e1c4d2d89bbe56ee8ca5fc988df4cc894381b4a087fa409095 + imports_resolved_ast: 74e87cd14415c4e1c4d2d89bbe56ee8ca5fc988df4cc894381b4a087fa409095 + canonicalized_ast: 74e87cd14415c4e1c4d2d89bbe56ee8ca5fc988df4cc894381b4a087fa409095 + type_inferenced_ast: f5ae3a29090e07ccd418d3ab78fd24161fe26cc6a365ff71861f4d6ad5e8a0b4 diff --git a/tests/expectations/compiler/compiler/mutability/array_dyn_mut.leo.out b/tests/expectations/compiler/compiler/mutability/array_dyn_mut.leo.out index ef090731fb..01784c8694 100644 --- a/tests/expectations/compiler/compiler/mutability/array_dyn_mut.leo.out +++ b/tests/expectations/compiler/compiler/mutability/array_dyn_mut.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1277 + num_constraints: 1604 + at: c5d2d5bbb85d0f7ba48170fdb652aff057db6d1babf378d8a548af874e0734ff + bt: 726f3c39d11da5bc8487b8b7228a55cb7819a47a9b674d41f9c756c6927fb55a + ct: 7c4917152b59cb9caa30bad7d5119a3e36c40f7a783fdb8ff602dd5447573cc7 + output: + - input_file: input/index1.in + output: + registers: + r0: + type: "[u32; 3]" + value: "\"303\"" + - input_file: input/index2.in + output: + registers: + r0: + type: "[u32; 3]" + value: "\"150\"" + initial_ast: b56c67d410c98a75c5f742d382e223355d214484d198ccaefe65296421c6854b + imports_resolved_ast: b56c67d410c98a75c5f742d382e223355d214484d198ccaefe65296421c6854b + canonicalized_ast: 7217fa688744caee18ab779ab9c43deac2d70a8d0b989873fe720d3f46a5e366 + type_inferenced_ast: 6d673f91cd5c98cd1ae69777a317cf2b2ee50fd291996c8ae70d036705e76062 diff --git a/tests/expectations/compiler/compiler/mutability/array_dyn_mut_indirect.leo.out b/tests/expectations/compiler/compiler/mutability/array_dyn_mut_indirect.leo.out index ef090731fb..79439395c7 100644 --- a/tests/expectations/compiler/compiler/mutability/array_dyn_mut_indirect.leo.out +++ b/tests/expectations/compiler/compiler/mutability/array_dyn_mut_indirect.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 924 + num_constraints: 1310 + at: f4c2d999e3cfce5433bbde762d8c826c8df8764b9223dd5d7147cd09810f25b7 + bt: fa02e90dd0bde30bc5feab46c3ea4fae0493dc6808d56bc6a1d937eb17297981 + ct: 8f6f484310918a186286820e4efd1e7494774c314e9e5c6f78bb60bdeae948f4 + output: + - input_file: input/index1_tuple.in + output: + registers: + r0: + type: "[(u32, u32); 3]" + value: "\"(1, 1)(0, 1)(3, 3)\"" + - input_file: input/index2_tuple.in + output: + registers: + r0: + type: "[(u32, u32); 3]" + value: "\"(1, 1)(2, 2)(0, 1)\"" + initial_ast: 7ca87cb79f11b6342bc6db56d6b051c68bcedb798ba9eb88992dcfe0873ce139 + imports_resolved_ast: 7ca87cb79f11b6342bc6db56d6b051c68bcedb798ba9eb88992dcfe0873ce139 + canonicalized_ast: 7ca87cb79f11b6342bc6db56d6b051c68bcedb798ba9eb88992dcfe0873ce139 + type_inferenced_ast: 26f6c295a4ab2515eadf95855c66e3fa29d158a43765baa87895fea42bb379d1 diff --git a/tests/expectations/compiler/compiler/mutability/array_fail.leo.out b/tests/expectations/compiler/compiler/mutability/array_fail.leo.out index 3f519cf1b5..fb91d0943d 100644 --- a/tests/expectations/compiler/compiler/mutability/array_fail.leo.out +++ b/tests/expectations/compiler/compiler/mutability/array_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373032]: illegal assignment to immutable variable 'a'\n --> compiler-test:5:5\n |\n 5 | a[0] = 0;\n | ^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/mutability/array_mut.leo.out b/tests/expectations/compiler/compiler/mutability/array_mut.leo.out index ef090731fb..4f64a7778a 100644 --- a/tests/expectations/compiler/compiler/mutability/array_mut.leo.out +++ b/tests/expectations/compiler/compiler/mutability/array_mut.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 3ba284ff6893de7ffb6f90092f7c39cefd51c61022e827842fc7d4be7ed72dcd + imports_resolved_ast: 3ba284ff6893de7ffb6f90092f7c39cefd51c61022e827842fc7d4be7ed72dcd + canonicalized_ast: 3ba284ff6893de7ffb6f90092f7c39cefd51c61022e827842fc7d4be7ed72dcd + type_inferenced_ast: 75acbd9ccfb46be0f54046274dc1c200ad7b244bc8e98789d5d7e80fd2d15518 diff --git a/tests/expectations/compiler/compiler/mutability/array_splice_mut.leo.out b/tests/expectations/compiler/compiler/mutability/array_splice_mut.leo.out index ef090731fb..b876f414f1 100644 --- a/tests/expectations/compiler/compiler/mutability/array_splice_mut.leo.out +++ b/tests/expectations/compiler/compiler/mutability/array_splice_mut.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 7d636b2e99784c858ee66e66497caaf184f7a9fa9340d0dd1d6618e6e4b6592e + imports_resolved_ast: 7d636b2e99784c858ee66e66497caaf184f7a9fa9340d0dd1d6618e6e4b6592e + canonicalized_ast: 7d636b2e99784c858ee66e66497caaf184f7a9fa9340d0dd1d6618e6e4b6592e + type_inferenced_ast: 796ceba3c23358c37039eb3484c761a7a5d605ad09877ba006090928be814458 diff --git a/tests/expectations/compiler/compiler/mutability/array_tuple_mut.leo.out b/tests/expectations/compiler/compiler/mutability/array_tuple_mut.leo.out index ef090731fb..82e3d7f297 100644 --- a/tests/expectations/compiler/compiler/mutability/array_tuple_mut.leo.out +++ b/tests/expectations/compiler/compiler/mutability/array_tuple_mut.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 2a6e7d5838f323e53cb753dc3bae3a6e379ef0deeb0172c1c7df231cd700a5b6 + imports_resolved_ast: 2a6e7d5838f323e53cb753dc3bae3a6e379ef0deeb0172c1c7df231cd700a5b6 + canonicalized_ast: 2a6e7d5838f323e53cb753dc3bae3a6e379ef0deeb0172c1c7df231cd700a5b6 + type_inferenced_ast: d5eafbcdb2a34278a296ff9b217aa63f8baab298450533f42ace506d0df031d6 diff --git a/tests/expectations/compiler/compiler/mutability/circuit_fail.leo.out b/tests/expectations/compiler/compiler/mutability/circuit_fail.leo.out index 3f519cf1b5..7da40fbd62 100644 --- a/tests/expectations/compiler/compiler/mutability/circuit_fail.leo.out +++ b/tests/expectations/compiler/compiler/mutability/circuit_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373032]: illegal assignment to immutable variable 'a'\n --> compiler-test:10:5\n |\n 10 | a.x = 0;\n | ^^^^^^^" diff --git a/tests/expectations/compiler/compiler/mutability/circuit_function_const.leo.out b/tests/expectations/compiler/compiler/mutability/circuit_function_const.leo.out index 3f519cf1b5..60c212a3e6 100644 --- a/tests/expectations/compiler/compiler/mutability/circuit_function_const.leo.out +++ b/tests/expectations/compiler/compiler/mutability/circuit_function_const.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373009]: cannot call mutable member function 'foo' of circuit 'Foo' from immutable context\n --> compiler-test:15:5\n |\n 15 | a.foo();\n | ^^^^^" diff --git a/tests/expectations/compiler/compiler/mutability/circuit_function_mut.leo.out b/tests/expectations/compiler/compiler/mutability/circuit_function_mut.leo.out index ef090731fb..42baf76272 100644 --- a/tests/expectations/compiler/compiler/mutability/circuit_function_mut.leo.out +++ b/tests/expectations/compiler/compiler/mutability/circuit_function_mut.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 71448f3f5387cd67a8d8c0b974fa93cf81cdfb72ae0d8f9499c9c5e478a0d15b + imports_resolved_ast: 71448f3f5387cd67a8d8c0b974fa93cf81cdfb72ae0d8f9499c9c5e478a0d15b + canonicalized_ast: 16d4030e454d8c83d2073afaaa7e8fa1eb40d36026909144db29d311ab005f46 + type_inferenced_ast: a446d016451281bab9b21f8a86250b4a3fd8a9b6f917e855e5dae816362c8925 diff --git a/tests/expectations/compiler/compiler/mutability/circuit_static_function_mut_fail.leo.out b/tests/expectations/compiler/compiler/mutability/circuit_static_function_mut_fail.leo.out index 3f519cf1b5..1c73aff5da 100644 --- a/tests/expectations/compiler/compiler/mutability/circuit_static_function_mut_fail.leo.out +++ b/tests/expectations/compiler/compiler/mutability/circuit_static_function_mut_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373005]: extra circuit member 'x' for initialization of circuit 'Foo' is not allowed\n --> compiler-test:8:19\n |\n 8 | let a = Foo { x: 1 };\n | ^" diff --git a/tests/expectations/compiler/compiler/mutability/circuit_variable_mut.leo.out b/tests/expectations/compiler/compiler/mutability/circuit_variable_mut.leo.out index ef090731fb..643f7e5a5d 100644 --- a/tests/expectations/compiler/compiler/mutability/circuit_variable_mut.leo.out +++ b/tests/expectations/compiler/compiler/mutability/circuit_variable_mut.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 83da7a1bf2887678937835ac77b33a0e21dd3b04d5739146f16a559b8dc3c6ab + imports_resolved_ast: 83da7a1bf2887678937835ac77b33a0e21dd3b04d5739146f16a559b8dc3c6ab + canonicalized_ast: 83da7a1bf2887678937835ac77b33a0e21dd3b04d5739146f16a559b8dc3c6ab + type_inferenced_ast: bd7710479d2a5bb2da060358fc13379dc1d7e334ead42519315bce0cd0db30c0 diff --git a/tests/expectations/compiler/compiler/mutability/cond_mut.leo.out b/tests/expectations/compiler/compiler/mutability/cond_mut.leo.out index ef090731fb..f3092ce949 100644 --- a/tests/expectations/compiler/compiler/mutability/cond_mut.leo.out +++ b/tests/expectations/compiler/compiler/mutability/cond_mut.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 384eb00d7e551705537f37e10e28eb35f88175f77351c6add02de4b896630ca6 + imports_resolved_ast: 384eb00d7e551705537f37e10e28eb35f88175f77351c6add02de4b896630ca6 + canonicalized_ast: 40b13bb543186c6f032ca6fca8144acbfa5cfcc4e691ed1f79c5120be2db8809 + type_inferenced_ast: 49d93167578fd99537e1895963545e6e95f2c55162f42f2bb9ee8b4d014152ee diff --git a/tests/expectations/compiler/compiler/mutability/const.leo.out b/tests/expectations/compiler/compiler/mutability/const.leo.out index 3f519cf1b5..4a957ebc26 100644 --- a/tests/expectations/compiler/compiler/mutability/const.leo.out +++ b/tests/expectations/compiler/compiler/mutability/const.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373032]: illegal assignment to immutable variable 'a'\n --> compiler-test:6:5\n |\n 6 | a = 0;\n | ^^^^^" diff --git a/tests/expectations/compiler/compiler/mutability/function_input.leo.out b/tests/expectations/compiler/compiler/mutability/function_input.leo.out index 3f519cf1b5..3c818f62f7 100644 --- a/tests/expectations/compiler/compiler/mutability/function_input.leo.out +++ b/tests/expectations/compiler/compiler/mutability/function_input.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373027]: failed to resolve variable reference 'a'\n --> compiler-test:5:5\n |\n 5 | a = false;\n | ^" diff --git a/tests/expectations/compiler/compiler/mutability/function_input_mut.leo.out b/tests/expectations/compiler/compiler/mutability/function_input_mut.leo.out index ef090731fb..6ffeaf479f 100644 --- a/tests/expectations/compiler/compiler/mutability/function_input_mut.leo.out +++ b/tests/expectations/compiler/compiler/mutability/function_input_mut.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 77803f27d711c6b4c7f51dd846bb82dee64dadc3627e9cedcc0c125a734c5b7c + imports_resolved_ast: 77803f27d711c6b4c7f51dd846bb82dee64dadc3627e9cedcc0c125a734c5b7c + canonicalized_ast: 77803f27d711c6b4c7f51dd846bb82dee64dadc3627e9cedcc0c125a734c5b7c + type_inferenced_ast: 9cc5c0db46856226084812857f8982677ed5688259a4deb0d189c9b92eba1756 diff --git a/tests/expectations/compiler/compiler/mutability/let_fail.leo.out b/tests/expectations/compiler/compiler/mutability/let_fail.leo.out index 3f519cf1b5..4a957ebc26 100644 --- a/tests/expectations/compiler/compiler/mutability/let_fail.leo.out +++ b/tests/expectations/compiler/compiler/mutability/let_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373032]: illegal assignment to immutable variable 'a'\n --> compiler-test:6:5\n |\n 6 | a = 0;\n | ^^^^^" diff --git a/tests/expectations/compiler/compiler/mutability/let_mut.leo.out b/tests/expectations/compiler/compiler/mutability/let_mut.leo.out index ef090731fb..303c236de1 100644 --- a/tests/expectations/compiler/compiler/mutability/let_mut.leo.out +++ b/tests/expectations/compiler/compiler/mutability/let_mut.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 561fab3e5b172eb73713783c43b079b77ab5ce1ee799526bd9c3dee51c6e15d8 + imports_resolved_ast: 561fab3e5b172eb73713783c43b079b77ab5ce1ee799526bd9c3dee51c6e15d8 + canonicalized_ast: 561fab3e5b172eb73713783c43b079b77ab5ce1ee799526bd9c3dee51c6e15d8 + type_inferenced_ast: 3715f38b2b0a49f93133616eb252d1067ef1abec8d0895cf9c7de588fcf9e6d8 diff --git a/tests/expectations/compiler/compiler/mutability/let_mut_nested.leo.out b/tests/expectations/compiler/compiler/mutability/let_mut_nested.leo.out index ef090731fb..a0711af408 100644 --- a/tests/expectations/compiler/compiler/mutability/let_mut_nested.leo.out +++ b/tests/expectations/compiler/compiler/mutability/let_mut_nested.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 4de7e4f24434d5a611566054ce5e1cff1edf0e9a76fa77ab5b121bd412eceb91 + imports_resolved_ast: 4de7e4f24434d5a611566054ce5e1cff1edf0e9a76fa77ab5b121bd412eceb91 + canonicalized_ast: 4de7e4f24434d5a611566054ce5e1cff1edf0e9a76fa77ab5b121bd412eceb91 + type_inferenced_ast: 65d3153d31e7f29f65b4896eddab3fc8bb78ff919921e77a05d51b50180320d6 diff --git a/tests/expectations/compiler/compiler/mutability/swap.leo.out b/tests/expectations/compiler/compiler/mutability/swap.leo.out index ef090731fb..6a67168d5f 100644 --- a/tests/expectations/compiler/compiler/mutability/swap.leo.out +++ b/tests/expectations/compiler/compiler/mutability/swap.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 127 + num_constraints: 127 + at: e89e71bb78cba20472e8ebfaeb36e6a9564861cf2b14846eb695a5937149dbfb + bt: 16d04f802c27d778734e07a0126cae3f096bc4e2e0b4362fe5687a338f1dece5 + ct: acfbc6fdb7a3696d43be3cd62939a9731cb8b11c215564c52b3c67343cbda41f + output: + - input_file: input/dummy.in + output: + registers: + r0: + type: bool + value: "false" + initial_ast: abe0177ae796b70cfdd8c6d30fcd5a9d713e3d16fccfdf63853ea6f0a8a9df54 + imports_resolved_ast: abe0177ae796b70cfdd8c6d30fcd5a9d713e3d16fccfdf63853ea6f0a8a9df54 + canonicalized_ast: abe0177ae796b70cfdd8c6d30fcd5a9d713e3d16fccfdf63853ea6f0a8a9df54 + type_inferenced_ast: 43109986d2643a72bb5300c298952755f692cdd10e7071fb40b2b006412606d9 diff --git a/tests/expectations/compiler/compiler/statements/all_loops.leo.out b/tests/expectations/compiler/compiler/statements/all_loops.leo.out index ef090731fb..9876a424fc 100644 --- a/tests/expectations/compiler/compiler/statements/all_loops.leo.out +++ b/tests/expectations/compiler/compiler/statements/all_loops.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: inputs/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: d94b77f7891ca44d554f59cc07370505a1dec9cc1a5133674faf8797bddcfb4b + imports_resolved_ast: d94b77f7891ca44d554f59cc07370505a1dec9cc1a5133674faf8797bddcfb4b + canonicalized_ast: 10fb59963f44b2261fc0dd0aca8a57bf3c6c6252d9da82717fd13fbb57760ad3 + type_inferenced_ast: 833d4e649f0e3cebfddcaccd9abde073ea29a9262a93fa233e0a5dcada33b46a diff --git a/tests/expectations/compiler/compiler/statements/assign_ternary.leo.out b/tests/expectations/compiler/compiler/statements/assign_ternary.leo.out index 3f519cf1b5..fa0d9f6a95 100644 --- a/tests/expectations/compiler/compiler/statements/assign_ternary.leo.out +++ b/tests/expectations/compiler/compiler/statements/assign_ternary.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373025]: unexpected type, expected: 'u32', received: 'bool'\n --> compiler-test:4:23\n |\n 4 | let x = true ? x: true;\n | ^^^^" diff --git a/tests/expectations/compiler/compiler/statements/block.leo.out b/tests/expectations/compiler/compiler/statements/block.leo.out index ef090731fb..e6d2d81ac5 100644 --- a/tests/expectations/compiler/compiler/statements/block.leo.out +++ b/tests/expectations/compiler/compiler/statements/block.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 96 + num_constraints: 97 + at: 82703e2aa614d0f54a1c321e06edd2e79a9574a91d0984d6f5e98926710962f2 + bt: 54bbc6eb42c38f8bbb12360c98b483e782f47c2875d6b88b6ae2b7cd70220cf8 + ct: 52022ccbdc5119e02384f852f21e0ed0b6d729cb1cd18aea031f73037e467755 + output: + - input_file: inputs/u32_3.in + output: + registers: + a: + type: bool + value: "true" + initial_ast: e83bec8b595276da8d5fee23a1aae15ca08ce2f369c3a47cfb5732b90b020e1f + imports_resolved_ast: e83bec8b595276da8d5fee23a1aae15ca08ce2f369c3a47cfb5732b90b020e1f + canonicalized_ast: d84f3bd449f9a10b2bf8de7e284c1764dee5650840a82e38518906448f7f0457 + type_inferenced_ast: 10d48e474c04c96d7754f41070ec3a406a2a3ef3ee6938185953ff52eaba5c87 diff --git a/tests/expectations/compiler/compiler/statements/chain.leo.out b/tests/expectations/compiler/compiler/statements/chain.leo.out index ef090731fb..602b31525c 100644 --- a/tests/expectations/compiler/compiler/statements/chain.leo.out +++ b/tests/expectations/compiler/compiler/statements/chain.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 319 + num_constraints: 415 + at: 910d51dc69b7ed7e2dfe1a786fad9b226b2ff30c7678f397cb8d8850fd76442e + bt: 3ae01a0af5534bca6ad67bd2609a5370a4982c7f6d17fb8c285054c3d08f9c4f + ct: 67836f65a02c595fcbf6d6a6d223a15e138d99a542390693ac4f582d073869e6 + output: + - input_file: inputs/u32_3.in + output: + registers: + a: + type: bool + value: "true" + - input_file: inputs/u32_5.in + output: + registers: + a: + type: bool + value: "false" + - input_file: inputs/u32_6.in + output: + registers: + a: + type: bool + value: "false" + initial_ast: 51f43c865b5082a79df9bba465629cc4d9cc9f3a472e35d0301ae1dc6ef37039 + imports_resolved_ast: 51f43c865b5082a79df9bba465629cc4d9cc9f3a472e35d0301ae1dc6ef37039 + canonicalized_ast: 51f43c865b5082a79df9bba465629cc4d9cc9f3a472e35d0301ae1dc6ef37039 + type_inferenced_ast: 6198dfeacc891f4e22635060fa58a476fcae08cb6cfa74b6e8d80c07adc6c36d diff --git a/tests/expectations/compiler/compiler/statements/compound_assignment.leo.out b/tests/expectations/compiler/compiler/statements/compound_assignment.leo.out index ef090731fb..200e0e0e5c 100644 --- a/tests/expectations/compiler/compiler/statements/compound_assignment.leo.out +++ b/tests/expectations/compiler/compiler/statements/compound_assignment.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 9 + num_constraints: 9 + at: cfc27ce5fe57455170b7873e5ff2eb5f8f997fc5fc62faad746879e0b78608b0 + bt: 6fde8d6341a34a59e776a14fd2071105f796edd8743b718e9d4d7eeab31f5eea + ct: 95d15e75300129c5b4dd7f324bec76f91976db7c7b6075f942e9ea82b243e0b3 + output: + - input_file: inputs/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: 108be85422345d78a93d2e36e633c3a15a1465e7c868f65e2925a47e0b5f691a + imports_resolved_ast: 108be85422345d78a93d2e36e633c3a15a1465e7c868f65e2925a47e0b5f691a + canonicalized_ast: d986fa603a5031dbd5034507d05df038fe99f60f603f7ca4b2d2c8ac2b409e7a + type_inferenced_ast: c95a6049c552c5b018f423fc1999b433cf94429c6edc32e2b55d326b78e36812 diff --git a/tests/expectations/compiler/compiler/statements/duplicate_variable.leo.out b/tests/expectations/compiler/compiler/statements/duplicate_variable.leo.out index 3f519cf1b5..e975210ed2 100644 --- a/tests/expectations/compiler/compiler/statements/duplicate_variable.leo.out +++ b/tests/expectations/compiler/compiler/statements/duplicate_variable.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373016]: a variable named \"x\" already exists in this scope\n --> compiler-test:5:3\n |\n 5 | let x = true;\n | ^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/statements/for_loop.leo.out b/tests/expectations/compiler/compiler/statements/for_loop.leo.out index ef090731fb..57be45f90b 100644 --- a/tests/expectations/compiler/compiler/statements/for_loop.leo.out +++ b/tests/expectations/compiler/compiler/statements/for_loop.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 512 + num_constraints: 675 + at: 5d537a7963ae43ff2b7b0222c18a237015c858d7203554574a785cd56d4d24c5 + bt: 192ca0dd8a20d69b443b952a7226e8c82936fedd2c9735d2b792883a01e46e3b + ct: 04609638ad65317edb75529646b34f10a846b39b3ddb783e4aeceddde17b79f9 + output: + - input_file: inputs/u32_3.in + output: + registers: + a: + type: bool + value: "true" + initial_ast: a8e737bf2fcc5b5096dae768b52c04d56891a4eedd47640a0e1aea5fa4b5da1a + imports_resolved_ast: a8e737bf2fcc5b5096dae768b52c04d56891a4eedd47640a0e1aea5fa4b5da1a + canonicalized_ast: cb2eb0272a5a1730cebeaab7a63578ae0f366615af0687a83772fdcbab8b4a93 + type_inferenced_ast: 4d4e9f8fa02ed1c33893ee0f05737a8fc22062039bf2c6a69c8a95c09ba3c6d4 diff --git a/tests/expectations/compiler/compiler/statements/iteration_basic.leo.out b/tests/expectations/compiler/compiler/statements/iteration_basic.leo.out index ef090731fb..c5e803d5c2 100644 --- a/tests/expectations/compiler/compiler/statements/iteration_basic.leo.out +++ b/tests/expectations/compiler/compiler/statements/iteration_basic.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 162 + num_constraints: 165 + at: 5b2ee97bca1c978a9cb40345a5358b6da05b06c94ef08ade726f32a8d0840c4e + bt: 9dc810c17c3ede695558cbade305db754bfc9de90c983ab114557f2cc9bb3631 + ct: 16ed7b0c9d703be9a60d4b2e0da9a52403de8b03c35a545db7c05b698eddcdfd + output: + - input_file: inputs/u32_3.in + output: + registers: + a: + type: bool + value: "true" + initial_ast: 416faf733ca084378ca66e5900ab7ffdbb057312e358d6652d6260eff3670fc6 + imports_resolved_ast: 416faf733ca084378ca66e5900ab7ffdbb057312e358d6652d6260eff3670fc6 + canonicalized_ast: 2ec69f397b7c48bc222d812fe4afae7ea375048ceb798e17063f08ea9ccdd040 + type_inferenced_ast: 8062f011312fc76f0f1d73a628292f38deb179974e1edd18af52ee7084279ab2 diff --git a/tests/expectations/compiler/compiler/statements/iteration_variable.leo.out b/tests/expectations/compiler/compiler/statements/iteration_variable.leo.out index ef090731fb..502d9d29f0 100644 --- a/tests/expectations/compiler/compiler/statements/iteration_variable.leo.out +++ b/tests/expectations/compiler/compiler/statements/iteration_variable.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 129 + num_constraints: 131 + at: 3ce06ba8c0b8ed0af6941d5d0a487cfb836053b5f7098525dbc159dbbca3508a + bt: d0528d867b40b0642b9b93a6b7f6d64ceb8d7e97799848ccd6b7fecfb86e2889 + ct: 638bf6e71b08cf88ff8fc38ff7594880102164a51a452dec39b42c10f6f36c35 + output: + - input_file: inputs/u32_3.in + output: + registers: + a: + type: bool + value: "true" + initial_ast: 038e16c427982d50e1f29bfb1ef4b9b5809592d431a167809641d2816255fe70 + imports_resolved_ast: 038e16c427982d50e1f29bfb1ef4b9b5809592d431a167809641d2816255fe70 + canonicalized_ast: 1d600ee2250660418ea73d55518937eac92695b6441fc2656de4568c4e7bed8c + type_inferenced_ast: 4f070f1df9bc5c1c7a5b4932b3348504b0a0b07df862e6ca027ee272208a5f79 diff --git a/tests/expectations/compiler/compiler/statements/multiple_returns.leo.out b/tests/expectations/compiler/compiler/statements/multiple_returns.leo.out index ef090731fb..aa199caf4a 100644 --- a/tests/expectations/compiler/compiler/statements/multiple_returns.leo.out +++ b/tests/expectations/compiler/compiler/statements/multiple_returns.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 63 + num_constraints: 63 + at: 37a483a8d794b0cd2f37b20c69eb00e2d9a3d950319dd18ead861dd505d84ce9 + bt: 6c9fd7d4b3947c363bdb576b2c2c827c3ebfe4c3b56eda2abb8a37e436b69638 + ct: c0d39de2b3b1c321288b265a4f0e72c13da3b07b0f5d61d14b66215440c56a42 + output: + - input_file: inputs/u32_3.in + output: + registers: + a: + type: bool + value: "true" + - input_file: inputs/u32_5.in + output: + registers: + a: + type: bool + value: "false" + initial_ast: f842a0668ac2fa61ee1f4c693c5159b1395527ee355e8d1d54da9e1ed63ac3ca + imports_resolved_ast: f842a0668ac2fa61ee1f4c693c5159b1395527ee355e8d1d54da9e1ed63ac3ca + canonicalized_ast: f842a0668ac2fa61ee1f4c693c5159b1395527ee355e8d1d54da9e1ed63ac3ca + type_inferenced_ast: 5adf5966c1fdb8a72af941b5b706d7a24b732441b7f56fb3de1319035ade46ec diff --git a/tests/expectations/compiler/compiler/statements/mutate.leo.out b/tests/expectations/compiler/compiler/statements/mutate.leo.out index ef090731fb..88e5c52e5d 100644 --- a/tests/expectations/compiler/compiler/statements/mutate.leo.out +++ b/tests/expectations/compiler/compiler/statements/mutate.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 253 + num_constraints: 317 + at: 30a9d7ef92bc14334cf2058df46dd513d99b7d21712c6c8bedfce9c48bc0f402 + bt: eaddc0804e3047ae886466758455accba906f9ae990696f12c17a3237a9c9688 + ct: e60851ccedd572c63dbcec5e0d84ddf45d76423dcf08fe0c9761fe17ce2bdd4e + output: + - input_file: inputs/u32_3.in + output: + registers: + a: + type: bool + value: "true" + - input_file: inputs/u32_5.in + output: + registers: + a: + type: bool + value: "true" + initial_ast: 1939d0c4720ac464347a680666fee91d1db59acfd36c8e7f6ea1255b4787b39b + imports_resolved_ast: 1939d0c4720ac464347a680666fee91d1db59acfd36c8e7f6ea1255b4787b39b + canonicalized_ast: 1939d0c4720ac464347a680666fee91d1db59acfd36c8e7f6ea1255b4787b39b + type_inferenced_ast: 662b43067b1ddf0db1b7f5d71a07eb84ff79074c187398d4367b8694f066726b diff --git a/tests/expectations/compiler/compiler/statements/nested_mutate.leo.out b/tests/expectations/compiler/compiler/statements/nested_mutate.leo.out index ef090731fb..22e2fa0227 100644 --- a/tests/expectations/compiler/compiler/statements/nested_mutate.leo.out +++ b/tests/expectations/compiler/compiler/statements/nested_mutate.leo.out @@ -1,4 +1,34 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 481 + num_constraints: 547 + at: 2f636d0f9b9af543c900753ff89b3eb0bd5cc4f81f8afc19c5cb0901b4b51b0a + bt: 86e567b4b178b61f7a2ae29ac78c6f60fc1b6c9cdfdbb6c896c8b059b68a90b6 + ct: eb4c6eaa123567ee0a5b12a2812f90b4f532e657b59249aaad97092bd32cdbe9 + output: + - input_file: inputs/u32_3.in + output: + registers: + a: + type: bool + value: "true" + - input_file: inputs/u32_5.in + output: + registers: + a: + type: bool + value: "true" + - input_file: inputs/u32_6.in + output: + registers: + a: + type: bool + value: "false" + initial_ast: ebf32d52f9b74643177b087221c52f994e439347407c948643b7261e107007ed + imports_resolved_ast: ebf32d52f9b74643177b087221c52f994e439347407c948643b7261e107007ed + canonicalized_ast: 2a2f30c10bc808923ae1f7fedc3debd765be612cfa1d100a853d0a2dfb65f58b + type_inferenced_ast: 628f6316908cc79ef0740fdd8baf179e9e969d19d82786f51e78a4d11bd6dab8 diff --git a/tests/expectations/compiler/compiler/statements/reverse_loops.leo.out b/tests/expectations/compiler/compiler/statements/reverse_loops.leo.out index ef090731fb..44d14de590 100644 --- a/tests/expectations/compiler/compiler/statements/reverse_loops.leo.out +++ b/tests/expectations/compiler/compiler/statements/reverse_loops.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: inputs/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: f64afadac31c349e9c03da12d924241f36316181323adf5bd8d64b01198747f6 + imports_resolved_ast: f64afadac31c349e9c03da12d924241f36316181323adf5bd8d64b01198747f6 + canonicalized_ast: feee8d1b761c72c684f8b6a7cb985357fa8897cbc229e69302df68655669a77e + type_inferenced_ast: c8d365cde5e39faabbea291d537590c08423e4dd281327d67f3a6994a5492e53 diff --git a/tests/expectations/compiler/compiler/statements/reverse_one.leo.out b/tests/expectations/compiler/compiler/statements/reverse_one.leo.out index ef090731fb..a95ee39d2c 100644 --- a/tests/expectations/compiler/compiler/statements/reverse_one.leo.out +++ b/tests/expectations/compiler/compiler/statements/reverse_one.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: inputs/dummy.in + output: + registers: + r0: + type: bool + value: "true" + initial_ast: e999f088de99a6223d147bd686fac839d98f2d6ba2a9abb38b6d234f8c90231d + imports_resolved_ast: e999f088de99a6223d147bd686fac839d98f2d6ba2a9abb38b6d234f8c90231d + canonicalized_ast: bb02f855d59f2f551f3248cca61b12a53c28977f0ec41cf9bed9d1434c88b9ab + type_inferenced_ast: 1be9b8e6dc45ea9bd2bfd6888d1538563b532e57f180a8cbbf0dd6036ee2bf56 diff --git a/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.leo.out b/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.leo.out index ef090731fb..285509211b 100644 --- a/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.leo.out +++ b/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 25 + num_constraints: 33 + at: 00318b0f80b01b9e2d5a8154a536deb1545f04abd493a84071ef13dce1a9d92d + bt: 799ee4dc07f6320b8c3dcbd5ebdf6de8a4cf5af8b1edc45dbe5621c8a34fa38d + ct: 7b6ec9eacd65cfa47dfe7e73eb7c8fa4be804a9fb878fddf59fe5d06e7c04489 + output: + - input_file: inputs/ternary_explicit_and_implicit.in + output: + registers: + a: + type: u8 + value: "3" + initial_ast: 8eb489d084203ff568db699a97d68cb7be586b99269cd3caa5ed075735a89430 + imports_resolved_ast: 8eb489d084203ff568db699a97d68cb7be586b99269cd3caa5ed075735a89430 + canonicalized_ast: 8eb489d084203ff568db699a97d68cb7be586b99269cd3caa5ed075735a89430 + type_inferenced_ast: 9599e37cdf0cbd702e3ee2e025996cd72d6df4c173ce591f713b685dc19d4d0f diff --git a/tests/expectations/compiler/compiler/statements/ternary_non_const_fail.leo.out b/tests/expectations/compiler/compiler/statements/ternary_non_const_fail.leo.out index 3f519cf1b5..384fa46cc2 100644 --- a/tests/expectations/compiler/compiler/statements/ternary_non_const_fail.leo.out +++ b/tests/expectations/compiler/compiler/statements/ternary_non_const_fail.leo.out @@ -1,4 +1,5 @@ --- namespace: Compile expectation: Fail -outputs: [] +outputs: + - "Error [EASG0373014]: failed to create const variable(s) 'y' with non constant values.\n --> compiler-test:5:5\n |\n 5 | const y = x > 2u8? 1u8 : 2u8;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^" diff --git a/tests/expectations/compiler/compiler/string/equality.leo.out b/tests/expectations/compiler/compiler/string/equality.leo.out index ef090731fb..ab5b54b3ff 100644 --- a/tests/expectations/compiler/compiler/string/equality.leo.out +++ b/tests/expectations/compiler/compiler/string/equality.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 92 + num_constraints: 75 + at: c03384068dd2b9bd528c65e301960d5c4f61bf94949c9080f28a4bc57f81e856 + bt: 7f653d4004b13eee112bbefcf900b0c8201524129423cdda82799c18fdcfb3f7 + ct: bce0d8a64cf530613e693412358d17d231ec8516108ab4ee5a47ddf185a471fa + output: + - input_file: inputs/string.in + output: + registers: + out: + type: bool + value: "true" + - input_file: inputs/weird.in + output: + registers: + out: + type: bool + value: "false" + initial_ast: 18cc23be73fed22f06b3bfdb93c1b92688131d4bbeb0d68ed8dc691c97f0c415 + imports_resolved_ast: 18cc23be73fed22f06b3bfdb93c1b92688131d4bbeb0d68ed8dc691c97f0c415 + canonicalized_ast: 63331696106397640ace1c15d354979b8a05f25dd650465954cd1fd72124bae6 + type_inferenced_ast: 83e3cba193c50f19049cdf4296d75187cfd9d6d9fa5276fd328c2e3acf0936e2 diff --git a/tests/expectations/compiler/compiler/string/replace.leo.out b/tests/expectations/compiler/compiler/string/replace.leo.out index ef090731fb..3fb95cb985 100644 --- a/tests/expectations/compiler/compiler/string/replace.leo.out +++ b/tests/expectations/compiler/compiler/string/replace.leo.out @@ -1,4 +1,28 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 68 + num_constraints: 51 + at: 45fa182371664010950da6ec3fa6360de34dda5cb814b3c8bd119a09e86b5c77 + bt: 4da3499799890924c2910625e052c6757e7cfd857ebbd18afd3d16b5bd0e9a73 + ct: 183c15a7bf0d7c109b082a55e696874797e7ce685096881ce803f6bfa453a875 + output: + - input_file: inputs/string.in + output: + registers: + out: + type: bool + value: "true" + - input_file: inputs/weird.in + output: + registers: + out: + type: bool + value: "true" + initial_ast: f3c204e48bcf159d84b551a7af01a54b49a9cd6b0ba35ab8c3e68d50caf215e6 + imports_resolved_ast: f3c204e48bcf159d84b551a7af01a54b49a9cd6b0ba35ab8c3e68d50caf215e6 + canonicalized_ast: 91c83cb469e2c9d1b4f6835dd2d503d330c9cfdc7ee4693490cced2835caa4e7 + type_inferenced_ast: d7f4ab6acb5c9569c42367d28c8af286c07147cb68a6ec31146b844ec257d2ac diff --git a/tests/expectations/compiler/compiler/string/string_transformation.leo.out b/tests/expectations/compiler/compiler/string/string_transformation.leo.out index ef090731fb..b8352f44e2 100644 --- a/tests/expectations/compiler/compiler/string/string_transformation.leo.out +++ b/tests/expectations/compiler/compiler/string/string_transformation.leo.out @@ -1,4 +1,22 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 9 + num_constraints: 7 + at: 5f4cfa276f9e316a42c9292a4f149fcf3c301a4ca3dc14112b7d59e8ef1e002c + bt: c728f18e4b654023c5189f382573af92682099ed5c7c08e706604e6f1cb7d72d + ct: 74aca434b2a72f7215a0dbe138b708fb2c2857d95dc3bc4776903c90d5f47bb9 + output: + - input_file: inputs/two.in + output: + registers: + out: + type: bool + value: "true" + initial_ast: cb6caa7598139ad4bdf20a4ace3eb443f83932c91606214227c192684efa2c33 + imports_resolved_ast: cb6caa7598139ad4bdf20a4ace3eb443f83932c91606214227c192684efa2c33 + canonicalized_ast: ef8938160ef517c3856d42b1c651877de6baaa791409cd92ea0552b8c82b228a + type_inferenced_ast: 313f5120e880583f9cced569d3afcfe7b893a8b9c58f521680037df4202e6d8c diff --git a/tests/expectations/compiler/compiler/tuples/access.leo.out b/tests/expectations/compiler/compiler/tuples/access.leo.out index ef090731fb..7611a6cff7 100644 --- a/tests/expectations/compiler/compiler/tuples/access.leo.out +++ b/tests/expectations/compiler/compiler/tuples/access.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 2 + num_constraints: 2 + at: 401937c524c61a28b4fab76d7a1f85bb628850012af62362a0922610372faf92 + bt: cdf9a9cee4f2edf55111a95ae60bde9801080f6bde638a5c79273a39a2f9f7f5 + ct: 643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726 + output: + - input_file: inputs/true_true.in + output: + registers: + b: + type: bool + value: "true" + c: + type: bool + value: "false" + initial_ast: 1398434e8180a7aba868bc9caa21b5d226a4c8216e0086a6f48d6c503e41c263 + imports_resolved_ast: 1398434e8180a7aba868bc9caa21b5d226a4c8216e0086a6f48d6c503e41c263 + canonicalized_ast: 1398434e8180a7aba868bc9caa21b5d226a4c8216e0086a6f48d6c503e41c263 + type_inferenced_ast: fed99174e3afb30da68a430b96242d63b45bb1ce58028d5c7352cc64dcbd98b7 diff --git a/tests/expectations/compiler/compiler/tuples/basic.leo.out b/tests/expectations/compiler/compiler/tuples/basic.leo.out index ef090731fb..3841846e9d 100644 --- a/tests/expectations/compiler/compiler/tuples/basic.leo.out +++ b/tests/expectations/compiler/compiler/tuples/basic.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 2 + num_constraints: 2 + at: 401937c524c61a28b4fab76d7a1f85bb628850012af62362a0922610372faf92 + bt: cdf9a9cee4f2edf55111a95ae60bde9801080f6bde638a5c79273a39a2f9f7f5 + ct: 643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726 + output: + - input_file: inputs/true_true.in + output: + registers: + b: + type: bool + value: "true" + c: + type: bool + value: "false" + initial_ast: 51cc6c9ff08fa4320783cf8b6683f784a6325a0e371c7d93049c30eb9d04cf72 + imports_resolved_ast: 51cc6c9ff08fa4320783cf8b6683f784a6325a0e371c7d93049c30eb9d04cf72 + canonicalized_ast: 51cc6c9ff08fa4320783cf8b6683f784a6325a0e371c7d93049c30eb9d04cf72 + type_inferenced_ast: a1e55a4a926b0d9c8d0f611136c7f9ba8ed5c6156a85d1d04adc9faaadf1a611 diff --git a/tests/expectations/compiler/compiler/tuples/dependent.leo.out b/tests/expectations/compiler/compiler/tuples/dependent.leo.out index ef090731fb..8b49eeab86 100644 --- a/tests/expectations/compiler/compiler/tuples/dependent.leo.out +++ b/tests/expectations/compiler/compiler/tuples/dependent.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 2 + num_constraints: 2 + at: 401937c524c61a28b4fab76d7a1f85bb628850012af62362a0922610372faf92 + bt: cdf9a9cee4f2edf55111a95ae60bde9801080f6bde638a5c79273a39a2f9f7f5 + ct: 643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726 + output: + - input_file: inputs/true_true.in + output: + registers: + b: + type: bool + value: "true" + c: + type: bool + value: "false" + initial_ast: 6692e9d94d784dd3cd11dbf48ac13b0b54f61d83ba0d85bf038e9bf84590851f + imports_resolved_ast: 6692e9d94d784dd3cd11dbf48ac13b0b54f61d83ba0d85bf038e9bf84590851f + canonicalized_ast: 6692e9d94d784dd3cd11dbf48ac13b0b54f61d83ba0d85bf038e9bf84590851f + type_inferenced_ast: 0d8c2b2b77762cfb957d5d6247366317b8fbe4ac7cb985df1b4d3511accf13b8 diff --git a/tests/expectations/compiler/compiler/tuples/destructured.leo.out b/tests/expectations/compiler/compiler/tuples/destructured.leo.out index ef090731fb..774c7fdf01 100644 --- a/tests/expectations/compiler/compiler/tuples/destructured.leo.out +++ b/tests/expectations/compiler/compiler/tuples/destructured.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 2 + num_constraints: 2 + at: 401937c524c61a28b4fab76d7a1f85bb628850012af62362a0922610372faf92 + bt: cdf9a9cee4f2edf55111a95ae60bde9801080f6bde638a5c79273a39a2f9f7f5 + ct: 643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726 + output: + - input_file: inputs/true_true.in + output: + registers: + b: + type: bool + value: "false" + c: + type: bool + value: "true" + initial_ast: 531df9191a6ee867da7a9c5aa5120a9ab93eec5d4d29bdc78aa965fce0f52c8d + imports_resolved_ast: 531df9191a6ee867da7a9c5aa5120a9ab93eec5d4d29bdc78aa965fce0f52c8d + canonicalized_ast: 531df9191a6ee867da7a9c5aa5120a9ab93eec5d4d29bdc78aa965fce0f52c8d + type_inferenced_ast: b841d6651b93193e0bbd24df8b667bd16066ee77481dd3b8b0187c37968ca1c1 diff --git a/tests/expectations/compiler/compiler/tuples/nested_access.leo.out b/tests/expectations/compiler/compiler/tuples/nested_access.leo.out index ef090731fb..f88364c476 100644 --- a/tests/expectations/compiler/compiler/tuples/nested_access.leo.out +++ b/tests/expectations/compiler/compiler/tuples/nested_access.leo.out @@ -1,4 +1,25 @@ --- namespace: Compile expectation: Pass -outputs: [] +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 2 + num_constraints: 2 + at: 401937c524c61a28b4fab76d7a1f85bb628850012af62362a0922610372faf92 + bt: cdf9a9cee4f2edf55111a95ae60bde9801080f6bde638a5c79273a39a2f9f7f5 + ct: 643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726 + output: + - input_file: inputs/true_true.in + output: + registers: + b: + type: bool + value: "false" + c: + type: bool + value: "false" + initial_ast: fbd413171641a048b40bf3141ee1ae3218a205e4679721ce61e0e114bb2e340b + imports_resolved_ast: fbd413171641a048b40bf3141ee1ae3218a205e4679721ce61e0e114bb2e340b + canonicalized_ast: fbd413171641a048b40bf3141ee1ae3218a205e4679721ce61e0e114bb2e340b + type_inferenced_ast: 8dcc217ea727817113ac27684c71b3b8914a9f621952b8555d5fc4843a79967f